Ilmu Komputer    
   
Daftar Isi
(Sebelumnya) ArcGISArchaeopteryx (evolutionary tr ... (Berikutnya)

Arch Linux

Arch Linux
Arch Linux logo
Company / developerAaron Griffin and team[1]
OS familyUnix-like
Working stateCurrent
Source modelFree and open source software
Initial releaseMarch 11, 2002; 11 years ago (2002-03-11)
Latest stable release(Rolling release) / Installation medium 2013.03.01
Marketing targetGeneral purpose
Update methodPacman
Package managerPacman
Supported platformsi686, x86-64
Kernel typeMonolithic (Linux)
UserlandGNU
Default user interfaceBash
LicenseVarious[2]
Official websitewww.archlinux.org

Arch Linux (or Arch /ˈɑr/)[3] is a Linux-based operating system for i686 and x86-64 computers.[4] It is composed predominantly of free and open source software,[5] and supports community involvement.[6]

The design approach of the development team focuses on simplicity from a developer's standpoint rather than a user's standpoint, elegance, code correctness, and minimalism.[7] A package manager written specifically for Arch Linux, pacman, is used to install, remove and update software packages.

Arch Linux uses a rolling release model, such that a regular system update is all that is needed to obtain the latest Arch software; the installation images released by the Arch team are simply up to date snapshots of the main system components.[8]

Contents

History

Inspired by CRUX, another minimalist distribution, Judd Vinet started Arch Linux in March 2002. Vinet led the project until 1 October 2007, when he stepped down due to lack of time, transferring control of the project to Aaron Griffin.[9]

Design and principles

Arch is largely based around binary packages. Packages are targeted for i686 and x86-64 microprocessors to assist performance on modern hardware. A ports/ebuild-like system is also provided for automated source compilation, known as the Arch Build System.

Arch Linux focuses on simplicity and developers meaning that the main effort in assisting the user is not to provide a graphical interface to work with — the package manager, for example, does not have an official graphical front-end —, but providing a streamlined set of succinctly commented, clean configuration files that are arranged for quick access and editing.[7] This has earned it a reputation as a distribution for "intermediate and advanced Linux users who aren't afraid of the command line".[10]

Relying on complex tools to manage and build your system is going to hurt the end users. [...] "If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding.
—Aaron Griffin[11]

init framework

Arch Linux uses systemd as the default init system and service manager. Until mid 2012,[12] Arch used a BSD-style init framework, a tradeoff of flexibility for simplicity which included and permitted use of System V runlevels and the inittab file, but made little distinction between runlevels: startup modules and daemons were simply listed in arrays in the central configuration file, /etc/rc.conf, as opposed to System V's scheme of per-runlevel directories containing numbered symbolic links for each daemon.[13] Unlike the original BSD and System V init, this framework was also capable of starting processes asynchronously. In late 2012, Arch moved to systemd as default, and full System V compatibility was ended.[14]

Installation

The Arch Linux website supplies ISO images that can be run from CD or USB. They included the Arch Installation Framework (AIF) (until the 2011.08.19 release) providing a dialog based interactive installation script. The default install was minimalist.[15] Further system customization and expansion (adding a window manager, desktop environment, etc.) had to be be done manually, installing packages downloaded from online repositories. However, AIF has been removed since the 2012.07.15 release due to lack of maintainers, and instead has been replaced by a simple command line script (pacstrap).[16]

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.[17] The user can mount his or her newly formatted drive partition, and use Pacman with the appropriate command-line switch to have it use the mountpoint of the device as root for its operations. This way the base package group and any additional packages can be installed on the newly formatted partition by having Pacman retrieve them from its mirrors. However, there are further actions that need to be taken before the system is ready for use after this process, most notably installing a bootloader, and making various configurations to the new system.

Package management

Pacman

To facilitate regular package changes, pacman was developed by Judd Vinet to provide Arch with its own package manager able to track dependencies.[18]

All packages are managed using the Pacman package manager. Pacman handles package installation, upgrades, removal and downgrades, and features automatic dependency resolution. The packages for Arch Linux are obtained from the Arch Linux package tree and are compiled for either i686 or x86-64 architectures. Arch Linux is primarily based on binary packages in the tar.gz and tar.xz format.[19]

Repositories

Currently, the following basic official repositories exist:[20]

  • core, which contains all the packages needed to set up a base system
  • 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.

In addition, there also exist testing repositories that include 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 unstable repository was dropped in July 2008 and most of the packages moved to other repositories.[21] In addition to the official repositories, there are a number of unofficial user repositories, the most well-known being the Arch User Repository, or AUR, hosted on the Arch Linux site.

Repository security

Until pacman version 4.0.0[22] Arch Linux's package manager lacked support for signed packages.[23] 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 can compromise the integrity of a system.[24] 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 21 March 2012 every package is signed.[25]

In June 2012, package signing verification became official and is now enabled by default in the installation process.[26][27]

Arch Build System

The Arch Build System is a ports-like source packaging system that compiles source tarballs into binary packages, which are installed via Pacman.[28] 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.xz packages from third-party sources. The resulting packages are also installable and trackable via Pacman.[29]

Arch User Repository

In addition to the repositories, the Arch User Repository provides user-made PKGBUILD scripts for packages not included in the repositories. The PKGBUILD scripts simplify building from source by explicitly listing and checking for dependencies and configuring the install to match the Arch architecture. The scripts are available for download from https://aur.archlinux.org. Arch User Repository helper programs can further streamline the downloading and building process. However, such tools that search, download and run PKGBUILD scripts automatically will never be included in the official repositories because of potential security risks.[30][specify]

Users can create packages compatible with pacman using the Arch Build System and custom PKGBUILD scripts.[31] This functionality has helped support the Arch User Repository, which consists of user contributed packages to supplement the official repositories.[32]

The Arch User Repository provides the community with packages that are not included in the repositories. Reasons include:

  • License 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 web site is a shell script that downloads the actual software from elsewhere. Examples include proprietary freeware such as Google Earth 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.
  • Rarity of the software. Some new or rarely used programs have not been added to the official repositories (yet).

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.

Versions

"Rolling releases"

Similar to Gentoo, and unlike other major distributions such as Ubuntu and Fedora, Arch Linux does not schedule releases for specific dates but uses a "rolling release" system, with new packages provided daily. Its package management allows users to keep systems up-to-date easily.[33] Rather than encouraging users to move between discrete releases, Arch Linux releases are simply snapshots of the current set of packages, sometimes with revised installation software. Therefore it makes no difference from which release Arch gets installed if updates are installed afterwards. In fact, some members of the Arch forums take pride in showing the age of the installation.

From version 2009.02 the goal is to bring coordinated releases following the rhythm of kernel releases, in order to provide optimal hardware support, this means a new release every 3 or 4 months.[34]

As of 1 March 2013 (2013-03-01)[update], the latest image is 2013.03.01 dated 1 March 2013.[35]

See also

References

  1. ^ Aaron Griffin, Lead Developer at ArchLinux
  2. ^ Licenses, wiki.archlinux.org, 2011-09-24, https://wiki.archlinux.org/index.php/ Licenses, retrieved 2011-10-02
  3. ^ Pronnounciation [sic] of our beloved distribution's name, Osdir.com, 2005-08-24, http://osdir.com/ml/linux.arch.genera l/2005-08/msg00254.html, retrieved 2009-10-19
  4. ^ "Arch Linux - About". www.archlinux.org. Retrieved 2011-09-27. 
  5. ^ "Explaining Why We Don't Endorse Other Systems". www.gnu.org. Retrieved 2011-09-28. 
  6. ^ "Arch Linux". Distrowatch.com. Retrieved 2011-09-28. 
  7. ^ a b "The Arch Way". Wiki.archlinux.org. 2009-10-09. Retrieved 2013-03-18. 
  8. ^ "Rolling with Arch Linux". lwn.net. 2010-03-10. Retrieved 2011-09-30. 
  9. ^ "Arch Leadership". Arch Linux Forums. Bbs.archlinux.org. Retrieved 2009-10-19. 
  10. ^ "Archlinux". Wiki.polishlinux.org. Retrieved 2009-10-19. 
  11. ^ Archway, phraktured.net, 2007-11-09, http://phraktured.net/arch-way.html, retrieved 2012-01-22
  12. ^ Pierre Schmitz. "Install medium 2012.10.06 introduces systemd". archlinux.org. Retrieved 2012-11-03. 
  13. ^ "Rc.conf". wiki.archlinux.org. Retrieved 2009-10-19. 
  14. ^ "End of initscripts support". archlinux.org. 2012-11-04. 
  15. ^ "Beginners Guide". Wiki.archlinux.org. 2009-09-17. Retrieved 2009-10-19. 
  16. ^ "News: Install media 2012.07.15 released". archlinux.org. 2012-07-22. Retrieved 2012-08-23. 
  17. ^ "Install From Existing Linux". Wiki.archlinux.org. 2009-11-21. Retrieved 2009-12-05. 
  18. ^ "Arch Linux: Why It Rocks". www.osnews.com. 2005-03-21. Retrieved 2011-09-30. 
  19. ^ Pierre Schmitz (2010-03-23). "Switching to xz compression for new packages". Archlinux.org. Archived from the original on 28 March 2010. Retrieved 2010-03-23. 
  20. ^ Official Repositories, wiki.archlinux.org, https://wiki.archlinux.org/index.php/ Official_Repositories, retrieved 2012-11-23
  21. ^ "Arch Linux Newsletter 08-04-2008". Archlinux.org. 2008-08-04. Retrieved 2009-10-19. 
  22. ^ Pacman NEWS file as of 4.0.0, http://projects.archlinux.org/pacman. git/tree/NEWS?id=d3d3b861ac2c4ce63c30 6e00395945bfa3c1b6c6, retrieved 14 October 2011
  23. ^ "FS#5331 - Signed packages". Retrieved 2011-08-07. 
  24. ^ "Attacks on Package Managers". cs.arizona.edu. 2008-07-10. Archived from the original on 5 September 2010. Retrieved 2010-09-14. 
  25. ^ Allan McRae (2011-12-17). "Pacman Package Signing – 4: Arch Linux". Retrieved 2012-02-29. 
  26. ^ "Having pacman verify packages". Gaetan Bisson. 2012-06-04. Retrieved 2012-06-04. 
  27. ^ "Install media 2012.07.15 released". archlinux.org. 2012-07-22. Retrieved 2012-08-13. 
  28. ^ "Arch Build System". wiki.archlinux.org. Retrieved 2009-10-19. 
  29. ^ "Makepkg". wiki.archlinux.org. Retrieved 2013-02-15. 
  30. ^ "Arch Linux: Popular KISS distro – Interview – Part II". Hardware.no. Retrieved 2009-10-19. 
  31. ^ "Using the Arch Build System". library.linode.com. 2011-09-08. Retrieved 2011-09-30. 
  32. ^ "Arch Linux". linuxdistroreview.com. 2011-03-08. Retrieved 2011-09-30. 
  33. ^ "Arch Linux Review". DVD-Guides.com. Retrieved 2009-10-19. 
  34. ^ Aaron Griffin (2009-02-16), 2009.02 ISO Release, http://www.archlinux.org/news/434/
  35. ^ "March", Arch Linux – Download, 2013-03-01, https://www.archlinux.org/download/

External links

(Sebelumnya) ArcGISArchaeopteryx (evolutionary tr ... (Berikutnya)