Arch Linux
   HOME

TheInfoList



OR:

Arch Linux () is an independently developed,
x86-64 x86-64 (also known as x64, x86_64, AMD64, and Intel 64) is a 64-bit version of the x86 instruction set, first released in 1999. It introduced two new modes of operation, 64-bit mode and compatibility mode, along with a new 4-level paging ...
general-purpose
Linux distribution A Linux distribution (often abbreviated as distro) is an operating system made from a software collection that includes the Linux kernel and, often, a package management system. Linux users usually obtain their operating system by downloading one ...
that strives to provide the latest stable versions of most software by following a rolling-release model. The default installation is a minimal base system, configured by the user to only add what is purposely required. Pacman, a
package manager A package manager or package-management system is a collection of software tools that automates the process of installing, upgrading, configuring, and removing computer programs for a computer in a consistent manner. A package manager deals wi ...
written specifically for Arch Linux, is used to install, remove and update software packages. Arch Linux uses a rolling release model, meaning there are no "major releases" of completely new versions of the system; a regular system update is all that is needed to obtain the latest Arch software; the installation images released every month by the Arch team are simply up-to-date snapshots of the main system components. Arch Linux has comprehensive documentation, consisting of a community-run
wiki A wiki ( ) is an online hypertext publication collaboratively edited and managed by its own audience, using a web browser. A typical wiki contains multiple pages for the subjects or scope of the project, and could be either open to the pub ...
known as the ArchWiki.


History

Inspired by
CRUX Crux () is a constellation of the southern sky that is centred on four bright stars in a cross-shaped asterism commonly known as the Southern Cross. It lies on the southern end of the Milky Way's visible band. The name ''Crux'' is Latin f ...
, another minimalist distribution, Judd Vinet started the Arch Linux project in March 2002. The name was chosen because Vinet liked the word's meaning of "the principal," as in "arch-enemy". Originally only for 32-bit x86 CPUs, the first x86_64 installation ISO was released in April 2006. Vinet led Arch Linux until 1 October 2007, when he stepped down due to lack of time, transferring control of the project to Aaron Griffin. The migration to
systemd systemd is a software suite that provides an array of system components for Linux operating systems. Its main aim is to unify service configuration and behavior across Linux distributions; Its primary component is a "system and service manag ...
as its
init In Unix-based computer operating systems, init (short for ''initialization'') is the first process started during booting of the computer system. Init is a daemon process that continues running until the system is shut down. It is the direc ...
system started in August 2012, and it became the default on new installations in October 2012. It replaced the
SysV-style init In Unix-based computer operating systems, init (short for ''initialization'') is the first process started during booting of the computer system. Init is a daemon process that continues running until the system is shut down. It is the direct ...
system, used since the distribution inception. The end of i686 support was announced in January 2017, with the February 2017 ISO being the last one including i686 and making the architecture unsupported in November 2017. Since then, the community derivative Arch Linux 32 can be used for i686 hardware. On 24 February 2020, Aaron Griffin announced that due to his limited involvement with the project, he would, after a voting period, transfer control of the project to Levente Polyak. This change also led to a new 2-year term period being added to the Project Leader position. In March 2021, Arch Linux developers were thinking of porting Arch Linux packages to x86_64-v3. x86-64-v3 roughly correlates to Intel Haswell era of processors. In April 2021, Arch Linux installation images began including a guided installation script by default. In late 2021, the Arch Linux developers released Pacman 6.0, which enabled parallel downloads. In February 2022, the Arch Linux developers began offering debug packages.


Repository security

Until Pacman version 4.0.0, Arch Linux's package manager lacked support for signed packages. Packages and metadata were not verified for authenticity by Pacman during the download-install process. Without package authentication checking, tampered-with or malicious repository mirrors could compromise the integrity of a system. Pacman 4 allowed verification of the package database and packages, but it was disabled by default. In November 2011, package signing became mandatory for new package builds, and as of the 21st of March 2012, every official package is signed. In June 2012, package signing verification became official and is now enabled by default in the installation process.


Design and principles

Arch is largely based on binary packages. Packages target
x86-64 x86-64 (also known as x64, x86_64, AMD64, and Intel 64) is a 64-bit version of the x86 instruction set, first released in 1999. It introduced two new modes of operation, 64-bit mode and compatibility mode, along with a new 4-level paging ...
microprocessor A microprocessor is a computer processor where the data processing logic and control is included on a single integrated circuit, or a small number of integrated circuits. The microprocessor contains the arithmetic, logic, and control circ ...
s to assist performance on modern hardware. A ports/
ebuild Portage is a package management system originally created for and used by Gentoo Linux and also by ChromeOS, Calculate, Sabayon, and Funtoo Linux among others. Portage is based on the concept of ports collections. Gentoo is sometimes referred ...
-like system is also provided for automated source compilation, known as the Arch Build System. Arch Linux focuses on simplicity of design, meaning that the main focus involves creating an environment that is straightforward and relatively easy for the user to understand directly, rather than providing polished point-and-click style management tools — the package manager, for example, does not have an official graphical front-end. This is largely achieved by encouraging the use of succinctly commented, clean configuration files that are arranged for quick access and editing. This has earned it a reputation as a distribution for "advanced users" who are willing to use the command line.


Installation

The Arch Linux
website A website (also written as a web site) is a collection of web pages and related content that is identified by a common domain name and published on at least one web server. Examples of notable websites are Google, Facebook, Amazon, and W ...
supplies
ISO image An optical disc image (or ISO image, from the ISO 9660 file system used with CD-ROM media) is a disk image that contains everything that would be written to an optical disc, disk sector by disc sector, including the optical disc file system. ...
s that can be run from CD or USB. After a user partitions and formats their drive, a simple command line script (pacstrap) is used to install the base system. The installation of additional packages which are not part of the base system (for example,
desktop environment In computing, a desktop environment (DE) is an implementation of the desktop metaphor made of a bundle of programs running on top of a computer operating system that share a common graphical user interface (GUI), sometimes described as a grap ...
s), can be done with either pacstrap, or Pacman after booting (or
chroot A chroot on Unix and Unix-like operating systems is an operation that changes the apparent root directory for the current running process and its children. A program that is run in such a modified environment cannot name (and therefore normal ...
ing) into the new installation. An alternative to using CD or USB images for installation is to use the static version of the package manager Pacman, from within another Linux-based operating system. The user can
mount Mount is often used as part of the name of specific mountains, e.g. Mount Everest. Mount or Mounts may also refer to: Places * Mount, Cornwall, a village in Warleggan parish, England * Mount, Perranzabuloe, a hamlet in Perranzabuloe parish, ...
their newly formatted drive partition, and use pacstrap (or Pacman with the appropriate
command-line switch A command-line interpreter or command-line processor uses a command-line interface (CLI) to receive commands from a user in the form of lines of text. This provides a means of setting parameters for the environment, invoking executables and pro ...
) to install base and additional packages with the mountpoint of the destination device as the
root In vascular plants, the roots are the organs of a plant that are modified to provide anchorage for the plant and take in water and nutrients into the plant body, which allows plants to grow taller and faster. They are most often below the su ...
for its operations. This method is useful when installing Arch Linux onto USB flash drives, or onto a temporarily mounted device which belongs to another system. Regardless of the selected installation type, further actions need to be taken before the new system is ready for use, most notably by installing a bootloader and configuring the new system with a system name, network connection, language settings, and graphical user interface. Arch Linux does not schedule releases for specific dates but uses a " rolling release" system where new packages are provided throughout the day. Its package management allows users to easily keep systems updated. Occasionally, manual interventions are required for certain updates, with instructions posted on the news section of the Arch Linux website.


Guided automated install script

An experimental guided installer named archinstall is included in all Arch ISO images released since 2021. It allows users to easily install and configure Arch Linux including drivers,
disk partitioning Disk partitioning or disk slicing is the creation of one or more regions on secondary storage, so that each region can be managed separately. These regions are called partitions. It is typically the first step of preparing a newly installed disk, ...
, network configuration, accounts setup, and installation of
desktop environments In computing, a desktop environment (DE) is an implementation of the desktop metaphor made of a bundle of programs running on top of a computer operating system that share a common graphical user interface (GUI), sometimes described as a grap ...
.


Package management

Arch Linux's only supported binary platform is x86_64. The Arch package repositories and User Repository (AUR) contains 58,000 binary and source packages, which comes close to
Debian Debian (), also known as Debian GNU/Linux, is a Linux distribution composed of free and open-source software, developed by the community-supported Debian Project, which was established by Ian Murdock on August 16, 1993. The first version of De ...
's 68,000 packages; however, the two distributions' approaches to packaging differ, making direct comparisons difficult. For example, six out of Arch's 58,000 packages comprise the software
AbiWord AbiWord () is a free and open-source software word processor. It is written in C++ and since version 3 it is based on GTK+ 3. The name "AbiWord" is derived from the root of the Spanish word "'' abierto''", meaning "open".Project MascoAbi the ...
, of which three in the user repository replace the canonical Abiword package with an alternative build type or version (such as sourcing from the latest commit to Abiword's source control repository), whereas Debian installs a single version of Abiword across seven packages. The Arch User Repository also contains a writerperfect package which installs several document format converters, while Debian provides each of the more than 20 converters in its own subpackage.


Pacman

To facilitate regular package changes, Pacman (a contraction of "package manager") was developed by Judd Vinet to provide Arch with its own package manager to track dependencies. It is written in C. All packages are managed using the Pacman
package manager A package manager or package-management system is a collection of software tools that automates the process of installing, upgrading, configuring, and removing computer programs for a computer in a consistent manner. A package manager deals wi ...
. Pacman handles package installation, upgrades, downgrades, removal and features automatic dependency resolution. The packages for Arch Linux are obtained from the Arch Linux package tree and are compiled for the x86-64 architecture. It uses binary packages in the tar.zst (for
zstd Zstandard, commonly known by the name of its reference implementation zstd, is a lossless data compression algorithm developed by Yann Collet at Facebook. ''Zstd'' is the reference implementation in C. Version 1 of this implementation was re ...
compression), with .pkg placed before this to indicate that it is a Pacman package (giving .pkg.tar.zst). For example, packages can be installed via pacman -S , while pacman -Syu can also be used to perform a full system upgrade. As well as Arch Linux, Pacman is also used for installing packages under MSYS2 (a fork of
Cygwin Cygwin ( ) is a POSIX-compatible programming and runtime environment that runs natively on Microsoft Windows. Under Cygwin, source code designed for Unix-like operating systems may be compiled with minimal modification and executed. The Cygwin in ...
) on Windows.


Repositories

The following official binary repositories exist: *''core'', which contains all the packages needed to set up a base system. Packages in this repository include kernel packages and shell languages. *''extra'', which holds packages not required for the base system, including desktop environments and programs. *''community'', which contains packages built and voted on by the community; includes packages that have sufficient votes and have been adopted by a "trusted user". *''multilib'', a centralized repository for x86-64 users to more readily support 32-bit applications in a 64-bit environment. Packages in this repository include
Steam Steam is a substance containing water in the gas phase, and sometimes also an aerosol of liquid water droplets, or air. This may occur due to evaporation or due to boiling, where heat is applied until water reaches the enthalpy of vaporizatio ...
and
Wine Wine is an alcoholic drink typically made from Fermentation in winemaking, fermented grapes. Yeast in winemaking, Yeast consumes the sugar in the grapes and converts it to ethanol and carbon dioxide, releasing heat in the process. Different ...
. Additionally, there are ''testing'' repositories which include binary package candidates for other repositories. Currently, the following testing repositories exist: *''testing'', with packages for ''core'' and ''extra''. *''community-testing'', with packages for ''community''. *''multilib-testing'', with packages for ''multilib''. The ''staging'' and ''community-staging'' repositories are used for some rebuilds to avoid broken packages in ''testing''. The developers recommend not using these repositories for any reason, stating that any system updating from them will "unquestionably break." There are also two other repositories that include the newest version of certain desktop environments. *''gnome-unstable'', which contains packages of a new version of the software from
GNOME A gnome is a mythological creature and diminutive spirit in Renaissance magic and alchemy, first introduced by Paracelsus in the 16th century and later adopted by more recent authors including those of modern fantasy literature. Its characte ...
before being released into ''testing''. *''kde-unstable'', which contains packages of a new version of KDE software before being released into ''testing.'' The ''unstable'' repository was dropped in July 2008 and most of the packages moved to other repositories. In addition to the official repositories, there are a number of unofficial user repositories. The most well-known unofficial repository is the Arch User Repository, or AUR, hosted on the Arch Linux site. The AUR does not host binary packages but instead a collection of build scripts known as PKGBUILDs. PKGBUILD scripts are executed by the makepkg command, which downloads the necessary files from the software's repository and builds them using the Arch Build System. The Arch Linux repositories contain both
libre Libre may refer to: Computing * Libre software, free software * Libre Computer Project, developer of open-hardware single-board computers Medicine *FreeStyle Libre, a glucose monitoring device Media * Libre Times, news site which people can free ...
and nonfree software, and the default Arch Linux kernel contains nonfree proprietary blobs, hence the distribution is not endorsed by the GNU project. The linux-libre kernel can be installed from the AUR or by enabling Parabola's repositories.


Arch Build System (ABS)

The Arch Build System (ABS) is a ports-like source packaging system that compiles source tarballs into binary packages, which are installed via Pacman. The Arch Build System provides a directory tree of
shell script A shell script is a computer program designed to be run by a Unix shell, a command-line interpreter. The various dialects of shell scripts are considered to be scripting languages. Typical operations performed by shell scripts include file man ...
s, called ''PKGBUILDs'', that enable any and all official Arch packages to be customized and compiled. Rebuilding the entire system using modified compiler flags is also supported by the Arch Build System. The Arch Build System makepkg tool can be used to create custom pkg.tar.zst packages from third-party sources. The resulting packages are also installable and trackable via Pacman.


Arch User Repository (AUR)

In addition to the repositories, the Arch User Repository (AUR) provides user-made PKGBUILD scripts for packages not included in the repositories. These PKGBUILD scripts simplify building from source by explicitly listing and checking for dependencies and configuring the install to match the Arch architecture. Arch User Repository helper programs can further streamline the downloading of PKGBUILD scripts and associated building process. However, this comes at the cost of executing PKGBUILDs not validated by a trusted person; as a result, Arch developers have stated that the utilities for automatic finding, downloading and executing of PKGBUILDs will never be included in the official repositories. Users can create packages compatible with Pacman using the Arch Build System and custom PKGBUILD scripts. This functionality has helped support the Arch User Repository, which consists of user contributed packages to supplement the official repositories. The Arch User Repository provides the community with packages that are not included in the repositories. Reasons include: *Licensing issues: software that cannot be redistributed, but is free to use, can be included in the Arch User Repository since all that is hosted by the Arch Linux website is a shell script that downloads the actual software from elsewhere. Examples include proprietary
freeware Freeware is software, most often proprietary, that is distributed at no monetary cost to the end user. There is no agreed-upon set of rights, license, or EULA that defines ''freeware'' unambiguously; every publisher defines its own rules for the ...
such as
Google Earth Google Earth is a computer program that renders a 3D computer graphics, 3D representation of Earth based primarily on satellite imagery. The program maps the Earth by superimposition, superimposing satellite images, aerial photography, and geog ...
and RealPlayer. *Modified official packages: the Arch User Repository also contains many variations on the official packaging as well as beta versions of software that is contained within the repositories as stable releases. *Popularity of the software: rarely used programs have not been added to the official repositories (yet). *Betas or "nightly" versions of the software which are very new and thus unstable. Examples include the "firefox-nightly" package, which gives new daily builds of the
Firefox Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. It uses the Gecko rendering engine to display web pages, which implements current ...
web browser. PKGBUILDs for any software can be contributed by ordinary users and any PKGBUILD that is not confined to the Arch User Repository for policy reasons can be voted into the community repositories.


Derivatives

There are several projects working on porting the Arch Linux ideas and tools to other kernels, including
PacBSD PacBSD (formerly known as Arch BSD) was an operating system based on Arch Linux, but uses the FreeBSD kernel instead of the Linux kernel and the GNU userland. The PacBSD project began on an Arch Linux forum thread in April 2012. It aims to pro ...
(formerly ArchBSD) and
Arch Hurd Arch Hurd is an operating system based on Arch Linux, but uses the GNU Hurd kernel instead of the Linux kernel. The Arch Hurd project was founded on an Arch Linux forum thread in January 2010 and, after a few weeks with many contributions, pro ...
, which are based on the
FreeBSD FreeBSD is a free and open-source Unix-like operating system descended from the Berkeley Software Distribution (BSD), which was based on Research Unix. The first version of FreeBSD was released in 1993. In 2005, FreeBSD was the most popular ...
and
GNU Hurd GNU Hurd is a collection of microkernel servers written as part of GNU, for the GNU Mach microkernel. It has been under development since 1990 by the GNU Project of the Free Software Foundation, designed as a replacement for the Unix kernel, and ...
kernels, respectively. There is also the Arch Linux ARM project, which aims to port Arch Linux to ARM-based devices, including the
Raspberry Pi Raspberry Pi () is a series of small single-board computers (SBCs) developed in the United Kingdom by the Raspberry Pi Foundation in association with Broadcom. The Raspberry Pi project originally leaned towards the promotion of teaching basic ...
, as well as the Arch Linux 32 project, which continued support for systems with 32-bit only CPUs after the mainline Arch Linux project dropped support for the architecture in November 2017. Various distributions are focused around providing an Arch base with an easier install process, such as EndeavourOS, Manjaro and Garuda Linux. SteamOS 3.0, the version of SteamOS used in
Steam Deck The Steam Deck is a handheld gaming computer developed by Valve Corporation. Released on February 25, 2022, the Steam Deck can be played as a handheld or connected to a monitor in the same manner as the Nintendo Switch. It is an x86-64-v3 de ...
by
Valve A valve is a device or natural object that regulates, directs or controls the flow of a fluid (gases, liquids, fluidized solids, or slurries) by opening, closing, or partially obstructing various passageways. Valves are technically fitting ...
, is based on Arch Linux.


Logo

The current Arch Linux logo was designed by Thayer Williams in 2007 as part of a contest to replace the previous logo.


Reception

OSNews OSNews is a computing online newspaper. It originally focused on operating systems and their related technologies that launched in 1997, but is now aggregating consumer electronics news. The content is managed by a group of editors and the owne ...
reviewed Arch Linux in 2002. OSNews also has 5 later reviews about Arch Linux. LWN.net wrote a review about Arch Linux in 2005. LWN.net also has 2 later reviews about Arch Linux. Tux Machines reviewed Arch Linux in 2007. Chris Smart from DistroWatch Weekly wrote a review about Arch Linux in January 2009. DistroWatch Weekly reviewed Arch Linux again in September 2009 and in December 2015. The
Linux kernel The Linux kernel is a free and open-source, monolithic, modular, multitasking, Unix-like operating system kernel. It was originally authored in 1991 by Linus Torvalds for his i386-based PC, and it was soon adopted as the kernel for the GNU ...
developer and maintainer Greg Kroah-Hartman (GKH) has stated that he uses Arch Linux and that it "works really really well," he has also praised th
Arch Wiki
the distribution's rolling release model, and the feedback loop with the community.


See also

*
Comparison of Linux distributions Technical variations of Linux distributions include support for different hardware devices and systems or software package configurations. Organizational differences may be motivated by historical reasons. Other criteria include security, includi ...
*
List of Linux distributions This page provides general information about notable Linux distributions in the form of a categorized list. Distributions are organized into sections by the major distribution or package management system they are based on. RPM-based Red Hat ...


Notes


References


External links

*
Arch Linux
on
GitHub GitHub, Inc. () is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, cont ...
* on
Libera.chat Libera Chat, stylized Libera.Chat, is an IRC network for free and open source software projects. It was founded on 19 May 2021 by former Freenode staff members, after Freenode was taken over by Andrew Lee, founder of Private Internet Access. ...
(, ) {{Software in the Public Interest IA-32 Linux distributions Pacman-based Linux distributions Rolling Release Linux distributions X86-64 Linux distributions Linux distributions Independent Linux distributions