Gentoo Linux |
Gentoo Linux is a Linux distribution named after the Gentoo Penguin. It is designed to be modularity (programming), portable, easy to maintain, and optimization for the user s machine. This is accomplished by building all tools and utilities from source code, although, for convenience, several large software packages are also available as precompiled binaries for various computer architecture. Gentoo achieves all this via the Portage_(software) system. Gentoo is also appreciated for its discussion forums and the large knowledge base they represent.
= History =
Founder Daniel Robbins (Gentoo Linux founder) recalls the birth of the Gentoo Linux distribution in a three-part article series, [http://www.gentoo.org/doc/en/articles/making-the-distro-p1.xml Making the Distribution]
On April 26 2004 Robbins stepped down as Chief Architect of the project. [http://slashdot.org/article.plsid=04/04/26/2259211]
Before leaving, he set up the non-profit Gentoo Foundation and transferred all copyrights to it. The initial board of trustees was appointed by Robbins and elections were scheduled for the following year. The membership of the foundation was initially set to be open. On May 25, 2005, the first board of trustees was elected.
Daniel Robbins now works for Microsoft [http://linux.slashdot.org/article.plsid=05/06/13/2137239] and describes his position as helping Microsoft to understand open source and community-based projects . Robbins managed to finalize the transfer of all Gentoo s intellectual property to the Gentoo Foundation, Inc.
On August 31, 2005 the Gentoo developers voted on 7 council members who have a one-year mandate to decide on global issues and policies that affect multiple projects within Gentoo. This Gentoo Council replaces the previous management structure (and project structure) which was in effect since June 24, 2003.
=Portability=
Gentoo was originally designed for the x86 architecture, but it has been ported to many others due to the highly-portable nature of Linux, gcc, Glibc and Portage (software). It currently runs on the x86, PowerPC, PowerPC 970, SPARC, AMD64, IA64, MIPS architecture, DEC Alpha, HP/PA, ARM architecture, and zSeries architectures. Gentoo was the first distribution to offer a fully functional 64bit Linux computing environment (user space and the kernel) for the PowerPC 970 architecture.
There is also a Gentoo for Mac OS X project which allows Mac OS X users to use Gentoo s Portage to install packages, in a similar way to the one provided by Fink (although without having to rely on a Chroot environment). Although still a work in progress, this project can coexist with Fink because it uses the same environment as Mac OS X instead of creating a new one.
Projects to make Portage work with the various is already released.
=Portage=
Portage is similar to the *Berkeley Software Distribution package management system called FreeBSD#Ports; in fact it was originally designed with FreeBSD s FreeBSD#Ports in mind. Gentoo s Portage system works similarly to Debian s Advanced Packaging Tool. Portage (software) is written in the Python programming language, and is the main utility that defines Gentoo. Although the system itself is known as Portage, its features are actually invoked on the command line with the program emerge .
==USE flags==
The Portage system offers the use of USE flags, which allows users to indicate which software features they would like to include while building packages. For example, there is a USE flag to include DVD support, where available, in all packages that are compiled after the flag is enabled. The USE flags can affect which dependencies are built or what options are sent to the program when it is compiled. The specification of USE flags is the usual way to configure programs on Gentoo. For a list of available USE flags, see [http://www.gentoo.org/dyn/use-index.xml Gentoo Linux Use Variable Descriptions]
==Ebuilds==
Gentoo does not use binary packages as package management systems like RPM Package Manager, instead employing a format known as the ebuild. The main difference between RPM files and ebuilds is that RPMs are precompiled binaries, whereas ebuilds are text files which contain a description of the software, and instructions on how to obtain, configure, compile, and install it. There are over 10000 ebuilds available; the majority of which are distributed by the Gentoo Mirror (computing)s. New and updated ebuilds can be obtained by synchronizing the local ebuild repository with the mirrors. This is done by executing the command emerge --sync.
==Masking==
Masking is how Gentoo determines which packages are suitable for a system. Ebuilds designed for different architectures or experimental software are usually masked in a way that will not allow a stable system to install them without proper user intervention.
Packages that generally just require some testing but will often work fine are said to be keyword masked (i.e. they are available for systems with the an ACCEPT_KEYWORDS make.conf entry starting with the character ~, such as ~x86, ~amd64, ~ppc). The standard way to unmask an individual keyword masked package is by adding an entry to /etc/portage/package.keywords.
Packages with known problems or not considered mature enough to be candidates for stable are hard masked by one of the various package.mask files in /usr/portage/profiles, and such entries are generally accompanied by a comment from developers explaining the reason for the mask. The standard way to unmask a hard masked package is to add an entry to /etc/portage/package.unmask.
=Init system=
Gentoo s Init system is another important feature of its system. It is similar to the System V init system that most Linux distributions used, but uses named run levels rather than numbered ones and dependency based scripts. It also includes a command called rc-update which manages runlevels. Users often comment that the Gentoo init system is one of their favorite features, second only to USE flags.
A faster, experimental init system known as initng is under active development on the Gentoo forums.
=Logo & mascots=
The official Gentoo logo is the [http://www.gentoo.org/main/en/name-logo.xml stylized G]. Unofficial mascots include [http://www.gentoo.org/main/en/about.xml Larry the cow] and [http://www.gentoo.org/main/en/about.xml Knurt the flying saucer].
=Installation=
Gentoo may be installed in several ways. The most common way to install it is by using the Gentoo Live CD, but as with any Linux distribution, it can also be installed by most Live CDs, and even from existing Linux installations.
Installation is done by following the [http://www.gentoo.org/doc/en/handbook/index.xml Gentoo Handbook]. An automated installer program is under development and available for testing.
==Catalyst==
Starting with version 2004.0, Gentoo introduced a tool called [http://www.gentoo.org/proj/en/releng/catalyst/ Catalyst], which is used to build all Gentoo releases and can be used to build one s own customized install media.
==Stages==
One of the three base stages is chosen as a tradeoff between customizability and install time. The default compiler in Gentoo is GNU Compiler Collection. Compiling customizations are made by specifying environment variables in various files.
*Stage 1: System must be bootstrapped and the base system must be compiled. *Stage 2: System has already been bootstrapped, but the base system must be compiled. *Stage 3: System has already been bootstrapped and the base system already compiled.
=Version history=
Note that once Gentoo is installed, it becomes versionless, that is, once an update is done, the system is the latest version. So, if the system was installed from a 2005.0 CD and 2005.1 was released, and the system was updated, then it is up to date. The versions are only to make new Gentoo installs up-to-date from the start.
Even though the versioning system changed to years, the numbering version system still continues. For example, /etc/gentoo-release might contain Gentoo Base System version 1.6.13 (Modified Aug. 26, 2005).
=Criticism=
Gentoo is sometimes criticized for poor Quality Assurance (though possibly this is an unavoidable consequence of focusing on having more up-to-date versions of software available), unstable stable branches and for having a closed upper management elite .
Many of the difficulties experienced in past years from the stable branch have dissipated due to the addition of a separate unstable branch, and will most likely continue to improve with time and effort. However, Gentoo, having a bleeding edge repository of software, often relies on the upstream s (i.e. original authors) QA process. This works well for highly-used software (such as Apache HTTP Server), but less so for little-used software.
Gentoo is also criticised for its long installation process, sometimes taking days on older hardware. One of the other interesting debates commonly held is the binary versus source packaging, Gentoo using the latter by default. Source packagers claim that binaries are slower and less customizable, while binary packagers retort that some packages take days to compile and are incompatible with the needs of many users who require quick software installation. Furthermore, some Compile time customizations might make packages less stable. Both systems have advantages and disadvantages.
In response to this criticism, Gentoo began offering precompiled binaries for various architectures of popular applications including KDE, GNOME, OpenOffice.org, Mozilla, Mozilla Firefox and others, and all the packages required to run them. These sets of packages are referred to as the Gentoo Reference Platform (GRP) and are updated with every new release of Gentoo.
Finally, the closed upper management elite accusation has dissipated since Daniel Robbins formed the Not-for-profit corporation organization known as the Gentoo Foundation. These criticisms are hotly debated between a vocal minority of users of community-based Linux Distributions.
Gentoo has been seen by some as an adversary of Debian. In particular, some Gentoo users have claimed they turned to Gentoo from Debian because of Debian s slow release cycle and the helpfulness of fellow users in the Gentoo forums, compared to the harsher treatment of new users in Debian mailing lists (see also RTFM).
= See also =
*Comparison of Linux distributions *List of Linux distributions *Gentoo/*BSD *Navyn OS *Pentoo *VidaLinux
= External links=
|
|