I’ve recently been getting back into Gentoo Linux, running it in a virtual machine and for some reason I actually understand it better this time around.
I have used Gentoo before, without truly understanding what I was doing, but now, after using other distros Gentoo actually makes sense. However, it still is a rather unique distro, with its own way of doing things, which has its advantages and disadvantages. Allow me to outline a few.
Firstly let me mention (and I know I have mentioned this many times before) Portage. Portage, based on the Ports collection system of BSD is Gentoo’s official package manager, which will automatically compile packages from source. Although this has its disadvantages, namely time, and I know that I have sort of hated on BSD for using a similar system, but Portage uses USE Flags, which are user defined keywords that tell Portage to compile certain functionality into certain packages and not to compile others. For example: you could compile a certain application with X support or you could disable that feature. This proves to actually be a useful feature for the end user, so it makes up for all the time it uses when you could have actually been using the package that you installed.
Next there are the command line tools. I have already mentioned that Gentoo likes to be different from other distros, which includes how you configure the system as well. Take loading daemons for example. On most distros (that I know of) if you wanted to load a daemon on startup you would add it to the daemons array in /etc/rc.conf, but in Gentoo they have a quick and easy command line tool to do this for you called rc-update. To add sshd to the daemons loaded on startup for example you would type:
rc-update add sshd default
Of course there is still a lot of text file based configuration in Gentoo, but because of tools like rc-update the configuration can often be in a different place to where you would expect, which can confuse people new to Gentoo.
Now for some of the downsides. I know I am repeating myself when I say that compiling from source takes time, but this can be a problem for many users. When you install Gentoo don’t expect to be instantly greeted with a nice GNOME or KDE desktop. If you intend on have such luxuries prepare to set aside a few hours, depending on the speed of your system.
There’s also the installation, which isn’t exactly user friendly. You basically use a live CD to build your Gentoo system, including the kernel, but thankfully the Gentoo community has very extensive and understandable documentation, which will help you do all this without too much of a hassle.
So there you have it. The pros and cons of Gentoo Linux. I recommend you try this distribution and see if it suits you. Portage is certainly one of a kind and I recommend you experience its power first hand.
Posted in