Gentoo Linux (pronounced // JEN-too) 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 larger packages or those with no available source code.
|Source model||Open source|
|Initial release||26 July 2000|
|Update method||Rolling release|
|Platforms||IA-32, x86-64, IA-64, PA-RISC (HPPA), PowerPC 32/64, SPARC 64-bit, DEC Alpha, ARM 32/64, MIPS|
|Xfce, LXQt, KDE, GNOME, Fluxbox, i3, Sway|
Gentoo Linux was named after the fast-swimming gentoo penguin. The name was chosen to reflect the potential speed improvements of machine-specific optimization, which is a major feature of Gentoo. 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 users have configurations and sets of installed programs which are unique to the system and the applications they use.
Gentoo Linux was initially created by Daniel Robbins as the Enoch Linux distribution. The goal was to create a distribution without precompiled binaries that was tuned to the hardware and only included required programs. At least one version of Enoch was distributed: version 0.75, in December 1999.
Daniel Robbins and the other contributors experimented with a fork of GCC known as EGCS, developed by Cygnus Solutions. At this point, "Enoch" was renamed "Gentoo" Linux (the gentoo species is the fastest-swimming penguin). The modifications to EGCS eventually became part of the official GCC (version 2.95), and other Linux distributions experienced similar speed increases.
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."
Gentoo Linux 1.0 was released on March 31, 2002. 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.
The current board of trustees is composed of five members who were announced (following an election) on March 2, 2008. There is also a seven-member Gentoo Council that oversees the technical issues and policies of Gentoo. 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.
The Gentoo Foundation is a domestic non-profit corporation, registered in the State of New Mexico. In late 2007, the Foundation's charter was revoked, 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.
Gentoo appeals to Linux users who want full control of the software that is installed and running on their computer.: 402 People who are prepared to invest the time required to configure and tune a Gentoo system can build very efficient desktops and servers. 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. Memory usage can also be reduced compared to other distributions by omitting unnecessary kernel features and services.: 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 support, can be selected by the user and any resulting package requirements are automatically included in the set of dependencies.: 386
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 ready for installation in a Gentoo system.
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".
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 compilation times, such as by enabling parallel compilation or using pipes instead of temporary files. Package compilation may also be distributed over multiple computers. 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.
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, IA-64, PA-RISC, 32-bit and 64-bit PowerPC, 64-bit SPARC, DEC Alpha, and both 32- and 64-bit ARM architectures. It is also officially supported but considered in-development state on MIPS, PS3 Cell Processor, System Z/s390,. Official support for 32-bit SPARC hardware and SuperH have been dropped.
Portability towards other operating systems, such as those derived from BSD, including macOS, is under active development by the Gentoo/Alt project. The Gentoo/FreeBSD project already has a working guide based on FreeSBIE, while Gentoo/NetBSD, Gentoo/OpenBSD and Gentoo/DragonFly are being developed. There is also a project 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.
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.
Gentoo may be installed in several ways. The most common way 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 there is also a guide for a network-less install.
Previously, Gentoo supported installation from stage1 and stage2 tarballs; however, the Gentoo Foundation no longer recommends them. Stage1 and stage2 are meant only for Gentoo developers.
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 and on IRC.
Before October 2005, installation could be started from any of three base stages:
- Stage1 begins with only what is necessary to build a toolchain (the various compilers, linkers, and language libraries necessary to compile other software) for the target system; compiling this target toolchain from another, pre-existing host system is known as bootstrapping the target system.
- Stage2 begins with a self-hosting (bootstrapped) toolchain for the target system, which is then used to compile all other core userland software for the target.
- Stage3 begins with a minimal set of compiled user software, with which the kernel and any other additional software are then configured and compiled.
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). 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 and moved into the Gentoo FAQ. As of September 2015[update], 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.
Gentoo Reference PlatformEdit
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. These packages included KDE, X Window System, OpenOffice, GNOME, and Mozilla. 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.[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
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. On December 20, 2008, the first weekly builds were published. In 2009, a special Live DVD was created to celebrate the Gentoo 10-year anniversary.
Release media version historyEdit
|(Enoch Linux) 0.75||December 1999|
|pre-1.0||July 26, 2000|
|1.0||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|
|2004.0||March 1, 2004 (versioning changed to four releases a year)|
|2004.1||April 28, 2004|
|2004.2||July 26, 2004|
|2004.3||November 15, 2004|
|2005.0||March 27, 2005 (versioning changed to semi-annual releases)|
|2005.1||August 8, 2005|
|2005.1-r1||November 21, 2005 (maintenance release 1)|
|2006.0||February 27, 2006|
|2006.1||August 30, 2006|
|2007.0||May 7, 2007|
|2008.0||July 6, 2008|
|Weekly Releases started||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.
|Unreal Tournament 2003 LiveCD||September 18, 2002 - Bootable NVIDIA GPU-accelerated Unreal Tournament 2003 LiveCD, demoed at LinuxWorld Conference and Expo 2003.|
|10.0||October 4, 2009 (special edition Live DVD for the 10th anniversary)|
|10.1||October 10, 2009 (Bugfix release of Special Live DVD)|
|11.0||April 8, 2011 (Anniversary Live DVD is updated to latest package versions)|
|12.0||January 2, 2012|
|12.1||April 1, 2012 (With an April Fool's joke named "Install Wizard")|
|20121221||December 21, 2012 (Live DVD - End Of World Edition)|
|20140826||August 26, 2014 (Live DVD - Iron Penguin Edition)|
|20160514||May 14, 2016 (Live DVD - Choice Edition; UEFI, ZFSOnLinux, and writable file systems using AUFS)|
|20160704||July 4, 2016 (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:
|10.0||August 6, 2009 (cosmetic name change from 2008.0 profiles)|
|13.0||February 10, 2013|
|17.0||November 30, 2017 (C++14 and PIE by default)|
|17.1||December 26, 2017 (experimental multilib layout for amd64 systems)|
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. 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.
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.
Logo and mascotsEdit
The gentoo penguin is thought to be the fastest underwater-swimming penguin. The name "Gentoo Linux" acknowledges both the Linux mascot – a penguin called Tux – and the project's aim to produce a high-performance operating system.: 383
- "Funtoo Linux History". funtoo.org. May 25, 2019.
- "Gentoo Linux Frequently Asked Questions". Retrieved January 6, 2014.
- "Gentoo Linux Frequently Asked Questions". gentoo.org. Retrieved January 6, 2014.
- "Gentoo Linux – About Gentoo". Gentoo.org. September 17, 2007. Retrieved January 28, 2010.
- "Gentoo Linux Documentation – Making the distribution, Part 1". Gentoo.org. October 9, 2005. Archived from the original on November 26, 2005. Retrieved January 28, 2010.
- "Planet Mirror – enoch – Enoch Linux – enoch-0.75 – download now". Public.planetmirror.com. February 11, 2007. Archived from the original on December 28, 2008. Retrieved 2010-01-28.
- "BBC Nature - Gentoo penguin videos, news and facts". bbc.co.uk. Archived from the original on February 5, 2012. Retrieved December 20, 2019.
- "Gentoo Linux Documentation – Making the distribution, Part 2". Gentoo.org. October 9, 2005. Archived from the original on November 26, 2005. Retrieved January 28, 2010.
- "Gentoo Linux Documentation – Making the distribution, Part 3". Gentoo.org. October 9, 2005. Archived from the original on November 26, 2005. Retrieved January 28, 2010.
- "Slashdot | Gentoo 1.0 Released". Linux.slashdot.org. March 31, 2002. Retrieved February 10, 2018.
- "Daniel Robbins Resigns As Chief Gentoo Architect". Slashdot.org. Retrieved February 10, 2018.
- "Gentoo Linux Wiki – The Board of Trustees". gentoo.org. January 21, 2018. Retrieved February 10, 2018.
- "Gentoo Linux – New foundation trustees elected". Gentoo.org. March 2, 2008. Archived from the original on December 24, 2012. Retrieved January 28, 2010.CS1 maint: bot: original URL status unknown (link)
- "Gentoo Council". gentoo.org. Retrieved January 6, 2014.
- Gentoo Council. Accessed January 6, 2014.
- "Gentoo Foundation Charter". gentoo.org. Retrieved July 20, 2021.
- GENTOO FOUNDATION, INC.[dead link], Corporations Information Inquiry, New Mexico Public Relation Commission. Accessed May 8, 2009.
- jake (January 14, 2008). "Gentoo loses charter; Robbins offers to return". LWN.net. Retrieved January 28, 2010.
- "Gentoo Foundation, Inc". New Mexico Corporation Division Efile. Archived from the original on June 26, 2013. Retrieved April 27, 2013.
- Christopher Negus (May 5, 2008). Linux Bible: Boot Up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions. John Wiley & Sons. pp. 389–. ISBN 978-0-470-28706-4.
- Chris Negus (2006). Live Linux CDs: Building and Customizing Bootables. Prentice Hall Professional. pp. 224–. ISBN 978-0-13-243274-0.
- CFLAGS and CXXFLAGS, Gentoo Linux x86 Handbook. December 13, 2014. Accessed February 10, 2018.
- Distcc, Gentoo Linux Wiki. February 2, 2018. Accessed February 10, 2018.
- Binary package guide, Gentoo Linux Wiki. November 13, 2017. Accessed February 10, 2018.
- Brendan Horan (March 26, 2013). Practical Raspberry Pi. Apress. pp. 222–. ISBN 978-1-4302-4971-9.
- "Handbook:Main Page - Gentoo Wiki". Retrieved August 31, 2018.
- "Gentoo/MIPS". gentoo.org. Retrieved January 6, 2014.
- "Gentoo Linux Documentation – s390 Installation Document". dev.gentoo.org. May 12, 2004. Retrieved January 28, 2010.
- "Gentoo Development Guide: Arch Specific Notes – SPARC". devmanual.gentoo.org. Retrieved February 10, 2018.
- "*/*: Discontinue Gentoo SuperH port".
- "Gentoo FreeBSD". gentoo.org. Retrieved January 6, 2014.
- "Gentoo Linux Projects – Gentoo/*BSD". Gentoo.org. October 19, 2006. Archived from the original on March 5, 2010. Retrieved January 28, 2010.
- "Gentoo GNU Hurd". Mundurat.net. Archived from the original on January 9, 2010. Retrieved 2010-01-28.
- "Gentoo Wiki - Prefix/Cygwin".
- "How do I Install Gentoo Using a Stage1 or Stage2 Tarball?".
- "UNetbootin – Universal Netboot Installer". Unetbootin.github.io. Retrieved February 10, 2018.
- "Gentoo Linux Newsletter – November 14th, 2005". Gentoo.org. Archived from the original on November 25, 2005. Retrieved January 28, 2010.
- "Stage1/2 deprecation from Gentoo Handbook". Gentoo. November 5, 2005. Retrieved February 10, 2018.
- "Sakaki's EFI Install Guide/Building the Gentoo Base System Minus Kernel". Sakaki. July 4, 2014. Archived from the original on November 19, 2017. Retrieved January 9, 2017.
- Daniel Robbins (October 10, 2002). "Gentoo Linux Reloaded". LinuxDevCenter.com. Retrieved January 4, 2007.
- Sven Vermeulen (March 1, 2004). "Gentoo Linux 2004.0 Released". OSNews. Retrieved February 10, 2018.
- "Gentoo Linux Documentation". Archived from the original on January 8, 2014. Retrieved February 10, 2018.
- "Gentoo Linux Documentation". Archived from the original on December 23, 2010. Retrieved April 24, 2011.
- "Gentoo News – New release strategy to provide more current install media". Gentoo.org. September 22, 2008. Archived from the original on February 8, 2010. Retrieved January 28, 2010.
- "Gentoo News – First sets of weekly stage3 tarballs and minimal CDs released". Gentoo.org. December 20, 2008. Archived from the original on July 2, 2010. Retrieved January 28, 2010.
- "Gentoo Linux – Ten Years Compiling: 1999–2009". Gentoo.org. October 4, 2009. Archived from the original on December 22, 2014. Retrieved February 10, 2018.
- "Review of Gentoo Linux 1.0". OSNews.
- "Gentoo for All the Unusual Reasons". Linux Journal.
- "Gentoo Linux Newsletter – March 1st, 2004". Gentoo.org. Archived from the original on January 2, 2010. Retrieved January 28, 2010.
- "Today marks the release of Gentoo Linux 2004.2 for the AMD64, HPPA, SPARC and X86 architectures!". gentoo.org. July 26, 2004. Archived from the original on December 24, 2014. Retrieved February 10, 2018.
- "Gentoo Linux Newsletter – November 15, 2004". Gentoo.org. Archived from the original on December 23, 2010. Retrieved January 28, 2010.
- "Mini review: Gentoo Linux 2005.0". DistroWatch (99). May 9, 2005.
- "Gentoo Linux – Release Announcement: Gentoo Linux 2005.0". Gentoo.org. March 27, 2005. Archived from the original on August 23, 2009. Retrieved January 28, 2010.
- "A Slacker Tries His Hand at Gentoo". OSNews.
- "Gentoo Linux – Release Announcement: Gentoo Linux 2005.1". Gentoo.org. August 10, 2005. Archived from the original on December 24, 2010. Retrieved January 28, 2010.
- "Gentoo Linux – Media Refresh: Gentoo Linux 2005.1-r1". Gentoo.org. November 21, 2005. Archived from the original on February 27, 2009. Retrieved January 28, 2010.
- "Gentoo Linux – Release Announcement: Gentoo Linux 2006.0". Gentoo.org. February 27, 2006. Archived from the original on February 27, 2009. Retrieved January 28, 2010.
- "Gentoo Linux – Gentoo Linux 2006.1 – Unleashed". Gentoo.org. August 30, 2006. Archived from the original on February 27, 2009. Retrieved January 28, 2010.
- "Gentoo Linux – Gentoo Linux 2007.0 released". Gentoo.org. May 7, 2007. Archived from the original on February 27, 2009. Retrieved January 28, 2010.
- "Gentoo Linux – Gentoo Linux 2008.0 released". Gentoo.org. July 6, 2008. Archived from the original on September 12, 2010. Retrieved January 28, 2010.
- "Gentoo Linux – New release strategy to provide more current install media". Gentoo.org. September 22, 2008. Archived from the original on February 8, 2010. Retrieved January 28, 2010.
- "Unreal Tournament 2003 LiveCD". sourceforge.net. April 13, 2003. Retrieved February 10, 2018.
- "Gentoo Ten Live DVD 10.1 Release". Gentoo.org. October 23, 2009. Archived from the original on August 20, 2014. Retrieved October 13, 2014.
- "Gentoo Linux - LiveDVD 11.0". Gentoo.org. March 8, 2011. Archived from the original on December 22, 2014. Retrieved October 13, 2014.
- "Gentoo Linux releases 12.0 LiveDVD". Gentoo.org. January 2, 2012. Archived from the original on November 10, 2014. Retrieved October 13, 2014.
- "Gentoo Linux releases 12.1 LiveDVD". Gentoo.org. April 1, 2012. Archived from the original on October 13, 2014. Retrieved October 13, 2014.
- "Gentoo Linux releases 20121221 LiveDVD - End Of World Edition". Gentoo.org. December 21, 2012. Archived from the original on October 3, 2014. Retrieved October 13, 2014.
- "Gentoo Linux releases the 20140826 LiveDVD - Iron Penguin Edition". Gentoo.org. August 26, 2014. Archived from the original on October 10, 2014. Retrieved October 13, 2014.
- "Gentoo Linux releases the 20160514 LiveDVD - Choice Edition". Gentoo.org. May 14, 2016. Retrieved June 11, 2016.
- "Gentoo Linux live DVD "Choice Edition"". DistroWatch (675). August 22, 2016.
- "Gentoo Linux releases the 20160704 LiveDVD - Choice Edition Part Dos". Gentoo.org. July 4, 2016. Retrieved August 29, 2016.
- "New 10.0 profiles are in repository". August 6, 2009. Retrieved February 10, 2018.
- "New 13.0 profiles and deprecation of 10.0 profiles". February 10, 2013. Archived from the original on December 22, 2018. Retrieved February 9, 2018.
- "New 17.0 profiles in the Gentoo repository". November 30, 2017. Retrieved February 9, 2018.
- "Experimental amd64 17.1 profiles up for testing". December 26, 2017. Archived from the original on December 22, 2018. Retrieved February 9, 2018.
- "Hardening Linux Usando Controle de Acesso Mandatório". Retrieved July 6, 2018.
- "Hardened Linux kernel sources removal". Gentoo Linux. 19 August 2017. Archived from the original on 9 January 2018. Retrieved 7 July 2018.
- "Project:Infrastructure/Incident Reports/2018-06-28 Github - Gentoo Wiki". wiki.gentoo.org. Archived from the original on 10 August 2018. Retrieved 23 August 2018.
- Henry-Stocker, Sandra (10 July 2018). "The aftermath of the Gentoo GitHub hack". Network World. Archived from the original on 24 July 2018. Retrieved 23 August 2018.
- Shallwood, Simon (July 5, 2018). "Gentoo GitHub repo hack made possible by these 3 rookie mistakes". The Register. Retrieved July 6, 2018.
- John Biggs (June 29, 2018). "Hackers took over the Gentoo Linux GitHub repository". TechCrunch.
- Ankush Das (June 29, 2018). "GitHub Repositories of Gentoo Linux Hacked!". It's FOSS.
- "Gentoo name and logo usage guidelines". gentoo.org. Retrieved February 10, 2018.
- "(gentoo) Contents of /xml/images/znurt.jpg". Gentoo.org. November 9, 2002. Archived from the original on September 29, 2011. Retrieved August 2, 2011.
|Wikimedia Commons has media related to Gentoo.|
- Official documentation