In today's world, Gentoo Linux is a relevant topic that impacts people of all ages, genders, and backgrounds. The importance of addressing this issue lies in its influence on different aspects of daily life, from physical and emotional health to social and economic development. Throughout history, Gentoo Linux has been the subject of extensive research and debate, giving rise to a wide range of perspectives and approaches on how to approach it. In this article, we will explore different aspects of Gentoo Linux, from its origins to its implications today, in order to provide a comprehensive and up-to-date view on this topic.
Developer | Gentoo Foundation |
---|---|
Written in | C, Perl, sh, and Python |
OS family | Linux (Unix-like) |
Working state | Current |
Source model | Open source |
Initial release | 31 March 2002[1][2] |
Repository | |
Update method | Rolling release |
Package manager | Portage |
Platforms | IA-32, x86-64, IA-64, PA-RISC (HPPA), PowerPC 32/64, SPARC 64-bit, DEC Alpha, ARM 32/64, MIPS |
Kernel type | Monolithic (Linux kernel) |
Userland | GNU, With support for non-GNU userlands |
Default user interface | CLI, with support for various window managers and desktop environments |
License | Free software |
Official website | www |
Gentoo Linux (pronounced /ˈdʒɛntuː/ JEN-too[3]) is a Linux distribution built using the Portage package management system. Unlike a binary software distribution, the source code is compiled locally according to the user's preferences and is often optimized for the specific type of computer. Precompiled binaries are available for some packages.[4] Gentoo runs on a wide variety of processor architectures.
Gentoo package management is designed to be modular, portable, easy to maintain, and flexible. Gentoo describes itself as a meta-distribution because of its adaptability, in that the majority of its users have configurations and sets of installed programs which are unique to the system and the applications they use.[5]
Gentoo Linux is named after the gentoo penguin, the fastest swimming species of penguin. The name was chosen to reflect the potential speed improvements of machine-specific optimizing, which is a major feature of Gentoo.
Gentoo Linux was initially created by Daniel Robbins as the Enoch Linux distribution. Its design philosophy was that of precompiled binaries which were tuned to the hardware and that only included required programs.[6] At least one version of Enoch was distributed under that name: version 0.75, in December 1999.[7]
Daniel Robbins and the other contributors experimented with a fork of GCC known as EGCS, developed by Cygnus Solutions. It was at this point that "Enoch" was renamed "Gentoo" Linux. The modifications to EGCS eventually became part of the official GCC (version 2.95); Gentoo and other Linux distros benefited from similar speed increases.[8]
After problems with a bug on his own system, Robbins halted Gentoo development and switched to FreeBSD for several months, later saying, "I decided to add several FreeBSD features to make our autobuild system (now called Portage) a true next-generation ports system."[9]
Gentoo Linux 1.0 was released on March 31, 2002.[10] In 2004, Robbins set up the non-profit Gentoo Foundation, transferred all copyrights and trademarks to it, and stepped down as chief architect of the project.[11]
The current board of trustees[12] is composed of five members who were announced (following an election) on March 2, 2008.[13] The seven-member Gentoo Council oversees related technical issues and policies.[14] The Gentoo Council members are elected annually, for a period of one year, by the active Gentoo developers. When a member of the Council retires, the successor is voted into place by the existing Council members.[15]
The Gentoo Foundation is a domestic non-profit corporation,[16] registered in the State of New Mexico.[17] In late 2007, the Foundation's charter was revoked,[18] but by May 2008 the State of New Mexico declared that the Gentoo Foundation, Inc. had returned to good standing and was free to do business.[19]
The creator of Gentoo, Daniel Robbins, left the project in both 2004 and 2007 due to conflicts with other developers.[20][21][22][23][24][25]
Gentoo appeals to Gnu/Linux users who want full control of the software that is installed and running on their computer.[26]: 402 People who are prepared to invest the time required to configure and tune a Gentoo system can build very efficient desktops and servers.[citation needed] Gentoo encourages users to build a Linux kernel tailored to their particular hardware. It allows very fine control of which services are installed and running, including the option to choose between systemd or OpenRC as the default init system. Memory usage can also be reduced compared to other distributions by omitting unnecessary kernel features and services.[26]: 386
Gentoo's package repositories provide a large collection of software. Each package contains details of any dependencies, so only the minimum set of packages need to be installed. Optional features of individual packages, such as whether they require LDAP or Qt support, can be selected by the user and any resulting package requirements are automatically included in the set of dependencies.[26]: 386
Gentoo itself does not have a default look and feel, hence installed packages usually appear as their authors intended.[26]: 387
Portage is Gentoo's software distribution and package management system. The original design was based on the ports system used by the Berkeley Software Distribution (BSD) operating systems. The Gentoo repository contains over 19,000 packages.[27]
A single invocation of portage's emerge command can update the local copy of the Gentoo repository, search for a package, or download, compile, and install one or more packages and their dependencies. The built-in features can be set for individual packages, or globally, with so-called "USE flags".[27]
Pre-compiled binaries are provided for some applications with long build times, such as LibreOffice and Mozilla Firefox, but users lose the ability to customize optional features. There are configuration options to reduce compiling times, such as by enabling parallel compiling or using pipes instead of temporary files.[28] Package compiling may also be distributed over multiple computers.[29] Additionally, the user may be able to mount a large filesystem in memory to further speed up the process of building packages. Some approaches have drawbacks and are not enabled by default. When installing the same package on multiple computers with sufficiently similar hardware, the package may be compiled once and a binary package created for quick installation on the other computers.[30]
On December 29th, 2023, it was announced that Gentoo will offer binary packages for download and direct installation. For most architectures, this will be limited to the core system and weekly updates. For amd64 and arm64 however the availability of binary packages reaches over 20 GB. [31]
Inasmuch as Gentoo is a source-based distribution with a repository describing how to build the packages, adding instructions to build on different machine architectures is particularly easy.[32]
Originally built on the IA-32 architecture, Gentoo has since been ported to many others. It is officially supported and considered stable on IA-32, x86-64, PA-RISC, 32-bit and 64-bit PowerPC, 64-bit SPARC, DEC Alpha, and 32- and 64-bit ARM architectures.[33] It is also officially supported but considered in-development state on MIPS,[34] PS3 Cell Processor, System Z/s390.[35] Official support for 32-bit SPARC, SuperH and Itanium have been dropped.[36][37]
Portability towards other operating systems, such as those derived from Berkeley Software Distribution (BSD), including macOS, is under active development by the Gentoo/Alt project. The Gentoo/FreeBSD project already has a working guide based on FreeSBIE,[38] while Gentoo/NetBSD, Gentoo/OpenBSD and Gentoo/DragonFly are being developed.[39] A project exists to get Portage working on OpenSolaris. There was an unofficial project to create a Gentoo port to GNU Hurd, but it has been inactive since 2006.[40]
It is also possible to install a Gentoo Prefix (provided by a project that maintains alternative installation methods for Gentoo) in a Cygwin environment on Windows, but this configuration is experimental.[41]
Gentoo may be installed in several ways. The most common is to use the Gentoo minimal CD with a stage3 tarball (explained below). As with many Linux distributions, Gentoo may be installed from almost any Linux environment, such as another Linux distribution's Live CD, Live USB, or Network Booting using the "Gentoo Alternative Install Guide". A normal install requires a connection to the Internet, but a network-less install guide exists.
On April 3, 2022, it was announced that there would be a new official image with a GUI, called the LiveGUI image. This can be installed onto installation media such as a USB drive or a dual-layer DVD. It includes a large selection of software, including the KDE Plasma 5 desktop environment, image editors, office software, system administration, and installation tools.[42]
Previously, Gentoo supported installation from stage1 and stage2 tarballs. The Gentoo Foundation no longer recommends this usage; stage1 and stage2 are now meant only for Gentoo developers.[43]
Following the initial install steps, the Gentoo Linux install process in the Gentoo Handbook describes compiling a new Linux kernel. This process is generally not required by other Linux distributions. Although this is widely regarded as a complex task, Gentoo provides documentation and tools such as Genkernel to simplify the process. In addition, users may also use an existing kernel known to work on their system by simply copying it to the boot directory, or installing one of the provided pre-compiled kernel packages, and updating their bootloader. Support for installation is provided on the Gentoo forum,[44] Reddit,[45] and IRC.[46]
A Live USB of Gentoo Linux can be created manually, by using various tools, or with dd as described in the handbook.
Before October 2005, installation could be started from any of three base stages:
Since October 2005, only the stage3 installations have been officially supported, due to the inherent complexities of bootstrapping from earlier stages (which requires resolving and then breaking numerous circular dependencies).[47] Tarballs for stage1 and stage2 were distributed for some time after this,[when?] although the instructions for installing from these stages had been removed from the handbook[48] and moved into the Gentoo FAQ.[49] As of September 2015, only the supported stage3 tarballs are publicly available; stage1 and stage2 tarballs are only "officially" generated and used internally by Gentoo development teams. However, if so desired, a user may still rebuild the toolchain or reinstall the base system software during or after a normal stage3 installation, effectively simulating the old bootstrap process.[50]
From 2003 until 2008, the Gentoo Reference Platform (GRP) was a snapshot of prebuilt packages that users could quickly install during the Gentoo installation process, to give faster access to a fully functional Gentoo installation.[51][52] These packages included KDE, X Window System, OpenOffice, GNOME, and Mozilla.[53] Once the installation was complete, the packages installed as part of the GRP were intended to be replaced by the user with the same or newer versions built through Portage that would be built using the user's system configuration rather than the generic builds provided by the GRP. As of 2011, the GRP is discontinued, the final reference to it appearing in the 2008.0 handbook.[54][original research?]
Gentoo follows a rolling release model.
Like other Linux distributions, Gentoo systems have an /etc/gentoo-release
file, but this contains the version of the installed sys-apps/baselayout
package.
In 2004, Gentoo began to version its Live media by year rather than numerically. This continued until 2008, when it was announced that the 2008.1 Live CD release had been cancelled in favour of weekly automated builds of both Stages 3 and Minimal CDs.[55] On December 20, 2008, the first weekly builds were published.[56] In 2009, a special Live DVD was created to celebrate the Gentoo 10-year anniversary.[57]
Name | Date |
---|---|
(Enoch Linux) 0.75 | December 1999 |
pre-1.0 | July 26, 2000 |
1.0[58] | March 31, 2002 |
1.1a | April 8, 2002 |
1.2 | June 10, 2002 |
1.4 | August 5, 2003 (Gentoo Reference Platform introduced) |
1.4 maintenance release 1 | September 11, 2003[citation needed] |
2004.0[59] | March 1, 2004[60] (versioning changed to four releases a year) |
2004.1 | April 28, 2004 |
2004.2 | July 26, 2004[61] |
2004.3 | November 15, 2004[62] |
2005.0[63] | March 27, 2005[64] (versioning changed to semi-annual releases) |
2005.1[65] | August 8, 2005[66] |
2005.1-r1 | November 21, 2005[67] (maintenance release 1) |
2006.0 | February 27, 2006[68] |
2006.1 | August 30, 2006[69] |
2007.0 | May 7, 2007[70] |
2008.0 | July 6, 2008[71] |
Weekly Releases started[72] | September 22, 2008 |
In 2009, a special Live DVD was released to celebrate Gentoo's tenth anniversary. Initially planned as a one-off, the Live DVD was updated to the latest package versions in 2011 due to its popularity among new users.
Name | Date/info |
---|---|
Unreal Tournament 2003 LiveCD | September 18, 2002[73] - Bootable NVIDIA GPU-accelerated Unreal Tournament 2003 LiveCD, demoed at LinuxWorld Conference and Expo 2003. |
10.0 | October 4, 2009[57] (special edition Live DVD for the 10th anniversary) |
10.1 | October 10, 2009[74] (Bugfix release of Special Live DVD) |
11.0 | April 8, 2011[75] (Anniversary Live DVD is updated to latest package versions) |
12.0 | January 2, 2012[76] |
12.1 | April 1, 2012[77] (With an April Fool's joke named "Install Wizard") |
20121221 | December 21, 2012[78] (Live DVD - End Of World Edition) |
20140826 | August 26, 2014[79] (Live DVD - Iron Penguin Edition) |
20160514 | May 14, 2016[80] (Live DVD - Choice Edition; UEFI, ZFSOnLinux, and writable file systems using AUFS) |
20160704[81] | July 4, 2016[82] (Live DVD - Choice Edition Part Dos) |
Although Gentoo does not have a concept of versioning the entire system, it does make use of "profiles", which define build configuration for all packages in the system. Major changes, such as changing the layout of how files are installed across the entire system, typically involve a profile upgrade and may require rebuilding all installed software. These profiles are versioned based on the year they were released, and include several variants for each release targeted towards different types of systems (such as servers and desktops). Profiles formerly tracked the versioning of install media, and switched to two-digit year naming after the discontinuation of versioned media. The following new profile versions have been released after 2008.0:
Version | Date/info |
---|---|
10.0 | August 6, 2009[83] (cosmetic name change from 2008.0 profiles) |
13.0 | February 10, 2013[84] |
17.0 | November 30, 2017[85] (C++14 and PIE by default) |
17.1 | December 26, 2017[86] (altered multilib layout for amd64 systems) |
23.0 | March 22, 2024[87] (merged /usr became the default) |
Hardened Gentoo is a project designed to develop and designate a set of add-ons that are useful when a more security focused installation is required.[88] Previously, the project included patches to produce a hardened kernel, but these were discontinued. Other parts of the hardened set, such as SELinux, and userspace hardening remain.[89]
In June 2018 the Gentoo GitHub code repository mirror used mainly by developers was hacked after an attacker gained access to an organization administrator's account via deducing the password. Gentoo promptly responded by containing the attack and improving security practices. No Gentoo cryptography keys or signed packages were compromised, and the repository was restored after five days.[90][91][92][93][94]
The gentoo penguin is thought to be the fastest underwater-swimming penguin. The name Gentoo Linux is a reference both to the omnibus Linux mascot— a penguin called Tux— and the project's aim to produce a high-performance operating system.[26]: 383 Unofficial mascots include Larry The Cow[5] and Znurt the Flying Saucer.[95]
Several independently developed Gentoo Linux variants exist, including ChromiumOS.
The Gentoo Project is proud to announce the release of Gentoo Linux 1.0.
Gentoo is pronounced "gen-too" (the "g" in "Gentoo" is a soft "g", as in "gentle").
Next to the usual support for source-based ebuilds, Portage also supports building and installing binary packages.
{{cite web}}
: CS1 maint: bot: original URL status unknown (link)
Daniel Robbins, creator of gentoo, had returned to the project. Well, a week later he left again. Basically, drobbins got into an epic flamewar with Ciaran McCreesh, a popular but controversial former gentoo dev who still frequents gentoo mailing lists. empers flared, and drobbins pushed for getting ciaranm banned from [email protected] mailing list, ostensibly on the grounds that ciaranm is no longer an official gentoo developer. The rest of the gentoo devs refused to do so. Then Daniel Robbins quit the project.
He officially re-joined the Gentoo development team two weeks ago - only to resign a few days later. The reason? Strong personal attacks by some of the current developers of the project.
The latest Gentoo flamewar started as a discussion on the gentoo-dev mailing list about topics for the March Gentoo Council meeting. Gentoo founder Daniel Robbins, who had rejoined the Gentoo project earlier that week after leaving in April, 2004, seemed keen on arguing with Gentoo contributor Ciaran McCreesh on whether the Package Manager Specification (PMS) is an official Gentoo project. After the discussion became heated, Robbins says that he's going to "look for a way to remove Ciaran from gentoo-dev" and then later says he doesn't want to be associated with Gentoo after all.