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.
Gentoo Linux is 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 their applications.
Video Gentoo Linux
History
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 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 for a period of one year, each 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 501(c)(6) non-profit foundation, 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.
Maps Gentoo Linux
Features
Gentoo appeals to Linux users who want full control of the software that is installed and running on their computer. 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; also, memory usage can be reduced, compared to other distributions, by omitting unnecessary kernel features and services.
A very large collection of software is available. Each package contains details of any dependencies on other software, so only the minimum set need be installed to run the required applications. Optional features of individual packages, for example whether they require LDAP support, can be selected by the user and any resulting package requirements are automatically included in the set of dependencies.
As Gentoo does not impose a standard look and feel, installed packages usually appear as their authors intended.
Portage
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) based operating systems. The portage tree 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 portage tree, 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, Apache OpenOffice and Mozilla Firefox, but users lose the ability to customize optional features. There are configuration options to reduce compilation times by enabling parallel compilation and using pipes instead of temporary files; package compilation may also be distributed over multiple computers. In addition, the user may be able to mount a large filesystem in RAM to greatly speed up the process of building packages. Some of these approaches have drawbacks and so 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.
Portability
As Gentoo is a source-based distribution with a portage tree describing how to build the packages, adding instructions to build on different machine architectures is particularly easy.
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 32-bit ARM architectures. It is also officially supported but considered in development state on MIPS, PS3 Cell Processor, System Z/s390, and SuperH. Official support for 32-bit SPARC hardware has been dropped.
Portability toward other operating systems, such as BSD-derived ones 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 somewhat experimental.
Installation
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 and make it straightforward for novice users. In addition, users may also use an existing kernel known to work on their system by simply copying it to the boot directory and updating their bootloader. Support for installation is provided on the Gentoo forum and on IRC.
A Live USB of Gentoo Linux can be created manually or using UNetbootin.
Stages
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, although the instructions for installing from these stages had been removed from the handbook and moved into the Gentoo FAQ. 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.
Gentoo Reference Platform
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 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 though Portage which would be built using the users' 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.
Versions
Once Gentoo is installed, it becomes effectively "versionless"; that is, once an emerge update is done, the system is completely current, with all the latest software readily available to it (subject to restrictions that a user may have specified in their Portage configuration files). For example, if a system is installed using a stage3 from March 2011, and the user performs a full emerge update one month later, they will upgrade the installed Gentoo system to the same as they would have if they had performed a fresh installation from an April 2011 CD. Thus, Gentoo users may upgrade to the latest version of all of their installed software the day that new versions are released and have an ebuild available. 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. On 20 December 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 history
Special releases
In 2009, a special Live DVD was released to celebrate Gentoo's tenth anniversary. Initially planned as a once-off, the Live DVD was updated to the latest package versions in 2011 due to its popularity among new users.
Profiles
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-based naming after the discontinuation of versioned media. The following new profile versions have been released after 2008.0:
Practical jokes
The developers and community behind Gentoo have performed many practical jokes, a number of them on or around April Fools' Day. This kind of practical trickery and playfulness has been a tenet of Gentoo since its creation.
- Wiki
- On July 28, 2017 the Gentoo wiki had a satirical news announcement entitled 'Word crimes'. Embedded in the announcement was a link to the Weird Al video under the same name.
- Website
- On April 1st, 2015 the Gentoo Linux team, namely Alex Legler and Robin H. Johnson and a few other associates, announced the launch of a "totally revamped and more inclusive website which was built to conform to the CGA Web(TM) graphics standards [...] with a 16-colour palette and an optimal screen resolution of 640 x 200 pixels". The joke website was displayed with the appearance of a CGA (16-colour) palette. According to the release announcement the new site was available via the Gopher protocol at gopher://gopher.gentoo.org/.
- Live DVD
- To salute the 2012 phenomenon, on December 21st, 2012 Gentoo released an End Of World Edition Live DVD.
- Install wizard
- On April 1st, 2012 an April Fools' joke named "Install Wizard" was "released" as part of the 12.1 Live DVD.
Logo and mascots
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.
The official Gentoo logo is a stylized 'g' resembling a silver magatama. Unofficial mascots include Larry The Cow and Znurt the Flying Saucer.
Popularity
Upon launch, Gentoo quickly became a popular distribution, with 326 hits per day on average in 2002 on DistroWatch.com - the third highest. However, over the years Gentoo has suffered from a dropping popularity. In 2003, Gentoo was fourth most popular, and dropped to seventh in 2004, ninth in 2005, tenth in 2006 and thirteenth in 2007. For 2008, Gentoo dropped to 18th, but the following year it ended its dropping streak by rising to 17th. Gentoo was placed 18th in 2010, 20th in 2011, 22nd in 2012, 33rd in 2013, 38th in 2014, and 45th in 2015. In 2016 it became slightly more popular, climbing back up to 35th place, but has since fallen to 41st (averaged out over the last three months).
Derived distributions
There are a number of independently developed variants of Gentoo Linux. The following overview (July 29, 2017) is non-exhaustive.
Inactive distributions
3viltoo, AnikOS, BinToo GNU/Linux, BOO Linux, Clumix, Dalai Lama GNU/Linux, Echse Recovery Cd, eHorizon, enVision Linux, Flash Linux, Fireball ISO, GaryOS, Genesis, Gentoo Studio, GentooTH Live CD/USB Linux, Gentoox, GuARD, iBox, Jollix, Knopperdisk, Liberté Linux, Litrix, Mac-TV, Mayix LiveCD, Mediabox, Minimax livecd, OpenNAO, PapugLinux, Phaeronix, PixieLive, PrometheOS, redWall Firewall CD, Securix, Shark Linux, Spike Linux, TinHat, Toorox, TsGoo, Vidalinux, Vinque GNU/Linux, Virtualtoo, WiiToo!, ZerahStar Zesktop
See also
- Gentoo/Alt
- GoboLinux
- Linux From Scratch
- Lunar Linux
- Source Mage
References
External links
- Official documentation
- Official website
- Official wiki, allowing collaboration of developers and users
- Gentoo Handbook
- Official packages, lists all packages currently available in the Portage tree
- Live USB guide
- Unofficial documentation and other resources
- Gentoo Linux - the fresh ebuilds
- Gentoo Linux at DistroWatch
- Gentoo Linux man pages
- Articles and media coverage
- Growing With Gentoo, O'Reilly Linux Dev Center, March 15, 2004
Source of the article : Wikipedia