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 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
originally called ''Puck Man'' in Japan, is a 1980 maze action video game developed and released by Namco for arcades. In North America, the game was released by Midway Manufacturing as part of its licensing agreement with Namco America. ...
, 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 for ...
, 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 as its
init system started in August 2012, and it became the default on new installations in October 2012. It replaced the
SysV-style init 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
originally called ''Puck Man'' in Japan, is a 1980 maze action video game developed and released by Namco for arcades. In North America, the game was released by Midway Manufacturing as part of its licensing agreement with Namco America. ...
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
originally called ''Puck Man'' in Japan, is a 1980 maze action video game developed and released by Namco for arcades. In North America, the game was released by Midway Manufacturing as part of its licensing agreement with Namco America. ...
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
A port is a maritime facility comprising one or more wharves or loading areas, where ships load and discharge cargo and passengers. Although usually situated on a sea coast or estuary, ports can also be found far inland, such as H ...
/
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 referre ...
-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 Wi ...
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
Universal Serial Bus (USB) is an industry standard that establishes specifications for cables, connectors and protocols for connection, communication and power supply (interfacing) between computers, peripherals and other computers. A broad ...
. 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 graphica ...
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 normall ...
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 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 command
Command may refer to:
Computing
* Command (computing), a statement in a computer language
* COMMAND.COM, the default operating system ...
) 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
A bootloader, also spelled as boot loader or called boot manager and bootstrap loader, is a computer program that is responsible for booting a computer.
When a computer is turned off, its softwareincluding operating systems, application code, an ...
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
Rolling release, also known as rolling update or continuous delivery, is a concept in software development of frequently delivering updates to applications. This is in contrast to a ''standard'' or '' point release'' development model which uses s ...
" 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, 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 graphica ...
.
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'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 An ...
, 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 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
Mingw-w64 is a free and open source software development environment to create ( cross-compile) Microsoft Windows PE applications. It was forked in 2005–2010 from MinGW (''Minimalist GNU for Windows'').
Mingw-w64 includes a port of the GNU C ...
(a fork of Cygwin) 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 and Wine
Wine is an alcoholic drink typically made from fermented grapes. Yeast consumes the sugar in the grapes and converts it to ethanol and carbon dioxide, releasing heat in the process. Different varieties of grapes and strains of yeasts are m ...
.
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 before being released into ''testing''.
*''kde-unstable'', which contains packages of a new version of KDE
KDE is an international free software community that develops free and open-source software. As a central development hub, it provides tools and resources that allow collaborative work on this kind of software. Well-known products include the ...
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
Arch Linux () is an independently developed, x86-64 general-purpose Linux distribution 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, ...
, 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 fr ...
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
A port is a maritime facility comprising one or more wharves or loading areas, where ships load and discharge cargo and passengers. Although usually situated on a sea coast or estuary, ports can also be found far inland, such as H ...
-like source packaging system that compiles source tarballs into binary packages, which are installed via Pacman
originally called ''Puck Man'' in Japan, is a 1980 maze action video game developed and released by Namco for arcades. In North America, the game was released by Midway Manufacturing as part of its licensing agreement with Namco America. ...
. The Arch Build System provides a directory tree of shell scripts, 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
originally called ''Puck Man'' in Japan, is a 1980 maze action video game developed and released by Namco for arcades. In North America, the game was released by Midway Manufacturing as part of its licensing agreement with Namco America. ...
.
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 t ...
such as Google Earth and RealPlayer
RealPlayer, formerly RealAudio Player, RealOne Player and RealPlayer G2, is a cross-platform media player app, developed by RealNetworks. The media player is compatible with numerous container file formats of the multimedia realm, including MP3 ...
.
*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 provi ...
(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, progre ...
, which are based on the FreeBSD 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
Arch Linux ARM is a port of Arch Linux for ARM processors. Its design philosophy is "simplicity and full control to the end user," and like its parent operating system Arch Linux, aims to be very Unix-like. This goal of minimalism and complete u ...
project, which aims to port Arch Linux to ARM
In human anatomy, the arm refers to the upper limb in common usage, although academically the term specifically means the upper arm between the glenohumeral joint (shoulder joint) and the elbow joint. The distal part of the upper limb between th ...
-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
EndeavourOS is a Linux distribution based on Arch Linux. EndeavourOS features the graphical Calamares installer capable of installing the Xfce, Budgie, Cinnamon, GNOME, i3, KDE Plasma 5, LXQt, and MATE desktop environments, the former of wh ...
, Manjaro
Manjaro ( ) is a Free and open-source software, free and open-source Linux distribution based on the Arch Linux operating system that has a focus on user-friendliness and accessibility. It uses a rolling release update model and Pacman package ...
and Garuda Linux.
SteamOS
SteamOS is a Linux distribution developed by Valve. It is open source with some closed source components and is the primary operating system for Steam Machines and the Steam Deck.
The initial versions of SteamOS, versions 1.0 and 2.0, were ba ...
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 owner ...
reviewed Arch Linux in 2002. OSNews also has 5 later reviews about Arch Linux.
LWN.net
LWN.net is a computing webzine with an emphasis on free software and software for Linux and other Unix-like operating systems. It consists of a weekly issue, separate stories which are published most days, and threaded discussion attached to ...
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 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
Rolling release, also known as rolling update or continuous delivery, is a concept in software development of frequently delivering updates to applications. This is in contrast to a ''standard'' or '' point release'' development model which uses s ...
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, continu ...
* on Libera.chat (, )
{{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