Tuesday, July 17, 2018

Tribblix - minimal plus pkgsrc

The latest update (0m20.5) of Tribblix is now available for download.

This one comes relatively quickly after its predecessor, but includes the eager fpu and ldt fixes.

The visible change this time is that there's a minimal ISO available. At just over 200M, it's about a fifth of the size of the regular ISO.

The only difference between the regular and minimal ISO is in what extra packages are dropped on the ISO. If you aren't going to add overlays at install, then the minimal ISO is much better.

The use cases for the minimal ISO are the obvious minimal server installs (including cloud-based), but also if you decide to use pkgsrc for your software rather than Tribblix native packages.

Tribblix is all about choice and flexibility, so if you want to use pkgsrc, go right ahead. You'll get a broader choice of software, certainly. In some areas you'll get newer versions than I provide, in some areas Tribblix will update more aggressively.

One thing I have noticed, though, is that if you want to use pkgsrc, do so exclusively. Mixing and matching native packages and pkgsrc really doesn't work.

With that in mind, the minimal ISO makes a great base for pkgsrc. To make it even easier, the pkgsrc bootstrap is available on the ISO itself. So if you want to install Tribblix with pkgsrc, just invoke the installer like so:

./live_install.sh -B c1t0d0 pkgsrc

Then, as root

export PATH=/opt/local/bin:$PATH

and you're all set to install packages from pkgsrc.

To get the X server and basics:

pkgin install modular-xorg

To install a graphical desktop, such as Xfce - there are many others, of course:

pkgin install xfce4

And then, as a regular user

export PATH=/opt/local/bin:$PATH
startxfce4

And, lo and behold, you should have a functional basic Xfce desktop running.

3 comments:

Anonymous said...

Joyent's pkgsrc no longer offers modular-xorg and xfce package, when I use pkgin to search it only shows some modular-xorg-* but not the meta package itself, search for xfce only show elementary icon. So it's useless for a desktop system now.

And could you add an overlay for ravenports? It's similar to Joyent's pkgsrc but utilizes FreeBSD's pkg instead of pkgin. It doesn't offers a complete xorg meta package so it also useless for a desktop system, too. But I think it will have great potential.

Peter Tribble said...

It appears that pkgsrc have made some changes, which isn't entirely helpful. I still see the modular-xorg metapackage, though. They've updated Xfce to the new 4.14 release, and removed the metapackage along the way. All of the Xfce pieces are there still, just not so convenient to install.

These types of unexpected changes are why it's important for a distro to manage its own core packages.

ravenports might be interesting; I'll have to look more closely. It does appear very limited, though - one advantage of pkgsrc is that it's coverage is so broad.

Anonymous said...

ravenports build their packages on Solaris 10u8. I think it's the reason why they've a very limitted set of packages.

https://github.com/jrmarino/Ravenports/wiki/quickstart-sunos

They could change their mind in the future but don't expect anything about them now. I think it's also unnecessary to use ravenports' prebuilt packages. They ported FreeBSD's pkg to Solaris. You should just grab it and instead of converting IPS packages to SVR4 packages you convert them to FreeBSD's pkg package format, so you could utilize FreeBSD's pkg for package management. Now you have a modern package manager with dependency handling and also suitable to use with UFS, since it doesn't require ZFS like IPS pkg. You could integrate it with zap so command like zap install-overlay xfce still works as usual, keeping perfect compatibility. It's my own thinking, though.