词条 | Arch Linux | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
释义 |
| name = Arch Linux | logo = Arch Linux logo.svg | developer = Aaron Griffin and others{{Efn|Aaron Griffin is the lead developer of Arch Linux.}} | family = Unix-like | working state = Current | source model = Open source | released = {{Start date and age|2002|03|11}} | latest release version = Rolling release | latest release date = installation medium 2019.03.01[1] | marketing target = General purpose | package manager = pacman | supported platforms = {{ubl|x86-64|i686 (unofficial){{Efn|i686 support is maintained by the Arch Linux 32 project.}}|ARM (unofficial){{Efn|ARM support is maintained by the Arch Linux ARM project.}}}} | kernel type = Monolithic (Linux) | userland = GNU | ui = CLI | license = Free software (GPL and other licenses)[2] | website = {{URL|https://www.archlinux.org/}} }}Arch Linux (or Arch {{IPAc-en|ɑːr|tʃ}})[3] is a Linux distribution for computers based on x86-64 architectures.[4] Arch Linux is composed predominantly of free and open-source software,[5] and supports community involvement.[6] The design approach of the development team follows the KISS principle ("keep it simple, stupid") as the general guideline, and focuses on elegance, code correctness, minimalism and simplicity, and expects the user to be willing to make some effort to understand the system's operation.[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] Arch Linux has comprehensive documentation in the form of a community wiki known as the ArchWiki.[9][10][11] HistoryInspired by CRUX, another minimalist distribution, Judd Vinet started the Arch Linux project in March 2002. Originally only for 32-bit x86 CPUs, the first x86_64 installation ISO was released in April 2006.[12] 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.[13] The end of i686 support was announced in January 2017, with the February 2017 ISO being the last one including i686[14] and making the architecture unsupported in November 2017.[15]. Since then, the community derivative Arch Linux 32 can be used for i686 hardware. Repository securityUntil pacman version 4.0.0[16] Arch Linux's package manager lacked support for signed packages.[17] 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.[18] 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 official package is signed.[19] In June 2012, package signing verification became official and is now enabled by default in the installation process.[20][21] Design and principlesArch is largely based around binary packages. Packages target 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 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.[7] This has earned it a reputation as a distribution for "intermediate and advanced Linux users who aren't afraid of the command line".[22] {{quote|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[23]}}InstallationThe Arch Linux website supplies ISO images 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.[21] The installation of additional packages which are not part of the base system (for example, desktop environments), can be done with either pacstrap, or pacman after booting (or chrooting) 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.[24] The user can mount their newly formatted drive partition, and use pacstrap (or pacman with the appropriate command-line switch) to install base and additional packages with the mountpoint of the destination device as the root 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, creating an initramfs, and configuring the new system. Package managementArch Linux's only supported binary platform is x86_64. The Arch package repositories and User Repository (AUR) contain 58,000 binary and source packages, which comes close to Debian Linux'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, 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[25]. 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[26]. Pacman{{anchor|Pacman}}To facilitate regular package changes, pacman (The Arch Package Manager, acronym over "package manager") was developed by Judd Vinet to provide Arch with its own package manager able to track dependencies.[27] It is written in C.[28] 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 the x86-64 architecture. It uses binary packages in the RepositoriesThe following official binary repositories exist:[30]
Additionally there are testing repositories which include binary package candidates for other repositories. Currently, the following testing repositories exist:
The staging and community-staging repositories are used for some rebuilds to avoid broken packages in testing. There are also two other repositories that include the newest version of certain desktop environments.
The unstable repository was dropped in July 2008 and most of the packages moved to other repositories.[31] 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. However, the AUR does not host binary packages, hosting instead a collection of build scripts known as PKGBUILDs. {{Anchor|ABS|PKGBUILD}}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.[32] 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 {{Anchor|AUR}}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.[34] 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.[35] Users can create packages compatible with pacman using the Arch Build System and custom PKGBUILD scripts.[36] This functionality has helped support the Arch User Repository, which consists of user contributed packages to supplement the official repositories.[37] The Arch User Repository provides the community with packages that are not included in the repositories. Reasons include:
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{{See also|List of Linux distributions#Pacman-based}}There are multiple distributions which either build on top of Arch Linux or are based on its repositories. Notable derivatives include:
VersionsRolling releasesSimilar to Tumbleweed and Gentoo, and unlike other major distributions such as Debian, Ubuntu, or Fedora, Arch Linux does not schedule releases for specific dates but uses a "rolling release" system, with new packages provided throughout the day. Its package management allows users to easily keep systems updated.[39] Monthly updated ISO installation images are released on every first week of a month.[1] They contain the latest software from the stable repositories and stay unchanged until the following month. In most cases, older versions of the installation image may be used to install Arch Linux. Since the software is downloaded over the internet, a fresh installation always contains the newest software, although an update to the keys may be necessary in order to verify the software. Occasionally, manual interventions are required for certain updates, with instructions posted on the news section of the Arch Linux website.[40] Other platformsThere are several projects working on porting the Arch Linux ideas and tools to other kernels, including PacBSD (formerly ArchBSD)[41] and Arch Hurd,[42] which are based on the FreeBSD and GNU Hurd kernels respectively. There is also the Arch Linux ARM[43] project, which aims to port Arch Linux to ARM-based devices, including the Raspberry Pi, as well as the Arch Linux 32 project, which continues support for systems with 32-bit only CPUs after the mainline Arch Linux project dropped support for the architecture in November 2017. ReceptionOSNews reviewed Arch Linux in 2002:[44] {{quote|In closing I just wanted to ask all you who would be interested to help this project because they have a only have SMALL selection of packages and if they could get more they would be very popular IMHO.}}OSNews also later re-reviewed Arch Linux.[45][46][47][48][49] LWN.net wrote review about Arch Linux in 2005:[50]{{quote|Arch Linux is a clean, powerful distribution. Apart from the two package management utilities of pacman and pkgbuild, the developers have resisted any temptation to implement package customizations or add new utilities. As such, the system requires a fair amount of post-install tweaking to bring it to a usable level. Security updates are handled in a style of FreeBSD's ports of constantly updating packages to their latest versions. This may occasionally break the system, but problems are usually fixed in a reasonably short time. One area where Arch Linux trails behind Gentoo is documentation; except for the two man pages for pacman and pkgbuild, the installation manual and a sparse wiki, there is little else to guide novice users to configure their Arch Linux system. On the other hand, the distribution has active user forums and mailing lists, as well as several international community sites in German, Italian and Polish.}}LWN.net also has a later review about Arch Linux.[51][52] Tux Machines reviewed Arch Linux in 2007:[53] {{quote|I think Arch's most significant strong point is in the fact that it's so customizable. Unlike some distros that install everything or offer rigid defaults, one installs just what they need and want with Arch. With the surprisingly complete repos, one can install how little or much software they choose. With the trend in Linux these days of making things so easy for the newcomer, sometimes one loses most of the choices once offered. So, Arch Linux is a refreshing change of pace. What user configurations are needed are not complicated and sane defaults or useful real-world examples are offered for most. All my hardware was auto-detected, so no configuration was needed in that area. My only complaint is I'm going to have to do some more work on the fonts. Whereas the fonts aren't what one might classify as ugly, they aren't as pretty as on some systems. I would also suggest they dress-up KDE a bit more.}}Chris Smart from DistroWatch Weekly wrote a review about Arch Linux in January 2009:[54] {{quote|The "keep it simple" philosophy of Arch Linux really shines through in all aspects of this distribution. It lets the user control the system and doesn't do anything unless told to. It has the speed and convenience of binary with the power of source and is very flexible when it comes to optional dependencies. Being a rolling release, the packages are also reasonably up-to-date. Other than the problem with the Intel video driver, I have not had any issues with the quality of the packages. Still, I have to wonder how well a smaller distribution like this can provide overall stability. Perhaps time will tell. It also remains to be seen how well Pacman will perform after installing and removing thousands of packages. Certainly, Arch Linux isn't for everybody, no distribution is, but it sure is plenty of fun and you learn a lot. If you're the kind of person who likes to fiddle and tweak your system, then definitely give it a shot. Once you have your system up and running the way you want, it's very easy to maintain and it feels great. If you've been tempted to try it out, there is a Wiki page listing how it compares to others. As for my dream distribution, Arch Linux comes pretty darn close.}}DistroWatch Weekly reviewed Arch Linux again in September 2009 and in December 2015.[55][56] See also{{Portal|Free and open-source software|Linux}}
Notes{{Notelist}}References1. ^1 {{cite web | url = https://www.archlinux.org/download/ | title = Arch Linux - Releases | accessdate = 2019-03-02 | website = archlinux.org}} 2. ^{{cite web |url=https://wiki.archlinux.org/index.php/Licenses |title=Licenses |website=ArchWiki |date=2011-09-24 |accessdate=2011-10-02}} 3. ^{{cite web |url=https://osdir.com/ml/linux.arch.general/2005-08/msg00254.html |title=Pronnounciation [sic] of our beloved distribution's name |author=Aaron Griffin |publisher=Osdir.com |date=2005-08-24 |accessdate=2009-10-19}} 4. ^{{cite web|url=https://www.archlinux.org/about/ |title=About |website=Arch Linux |accessdate=2011-09-27}} 5. ^{{cite web |url=https://www.gnu.org/distros/common-distros.html#Arch |title=Explaining Why We Don't Endorse Other Systems |publisher=GNU Project |accessdate=2011-09-28}} 6. ^{{cite web |url=https://distrowatch.com/table.php?distribution=arch |title=Arch Linux |website=DistroWatch |accessdate=2011-09-28}} 7. ^1 {{cite web|url=https://wiki.archlinux.org/index.php/The_Arch_Way |title=The Arch Way |website=ArchWiki |date=2009-10-09 |accessdate=2013-03-18}} 8. ^{{cite web |url=https://lwn.net/Articles/378030/|title=Rolling with Arch Linux |author=Ivan Jelic |website=LWN.net |date=2010-03-10 |accessdate=2011-09-30}} 9. ^{{cite web |url=https://distrowatch.com/weekly.php?issue=20151221#arch |title=Arch Linux - Feature Story |accessdate=January 17, 2016 |date=December 21, 2015 |last=Smith |first=Jesse}} 10. ^{{cite web |url=https://wiki.archlinux.org/index.php/ArchWiki:About |title=ArchWiki:About |accessdate=January 17, 2016 |website=ArchWiki |publisher=Arch Linux}} 11. ^{{cite web |url=http://ostatic.com/blog/debian-project-lead-snappy-and-mir-bad-ideas |title=Debian Project Lead: Snappy and Mir Bad Ideas |date=July 17, 2015 |publisher=OStatic |first=Susan |last=Linton |accessdate=February 4, 2017 |quote=One of the first questions wondered if McGovern was jealous of anything from any other distro. To that he answered Arch's wiki calling it "an absolutely amazing resource" that he himself uses.}} 12. ^{{cite web |url=https://www.archlinux.org/news/official-arch64-install-cd-available/ |title=Official Arch64 install cd available |author=Jason Chu |date=2006-04-12 |website=Arch Linux }} 13. ^{{cite web |url=https://bbs.archlinux.org/viewtopic.php?id=38024 |title=Arch Leadership |author=apeiro (Judd Vinet) |website=Arch Linux Forums |date=2007-10-01 |accessdate=2009-10-19}} 14. ^{{cite web |url=https://www.archlinux.org/news/phasing-out-i686-support/ |title=Phasing out i686 support |author=Bartłomiej Piotrowski |date=2017-01-25 |website=Arch Linux }} 15. ^{{cite web |url=https://www.archlinux.org/news/the-end-of-i686-support/ |title=The end of i686 support |author=Bartłomiej Piotrowski |date=2017-11-08 |website=Arch Linux }} 16. ^{{cite web |title=Pacman NEWS file as of 4.0.0 |url=https://projects.archlinux.org/pacman.git/tree/NEWS?id=d3d3b861ac2c4ce63c306e00395945bfa3c1b6c6 |accessdate=2011-10-14}} 17. ^{{cite web |title=FS#5331 - Signed packages |url=https://bugs.archlinux.org/task/5331 |accessdate=2011-08-07}} 18. ^{{cite web |url=https://www.cs.arizona.edu/stork/packagemanagersecurity/attacks-on-package-managers.html |title=Attacks on Package Managers |publisher=cs.arizona.edu |date=2008-07-10 |accessdate=2010-09-14 |archiveurl=https://web.archive.org/web/20100905075018/https://www.cs.arizona.edu/stork/packagemanagersecurity/attacks-on-package-managers.html |archivedate=2010-09-05 | deadurl= no}} 19. ^{{cite web |url=http://allanmcrae.com/2011/12/pacman-package-signing-4-arch-linux/ |title=Pacman Package Signing – 4: Arch Linux |last=McRae |first=Allan |date=2011-12-17 |accessdate=2012-02-29}} 20. ^{{cite web |url=https://www.archlinux.org/news/having-pacman-verify-packages/ |title=Having pacman verify packages |author=Gaetan Bisson |website=Arch Linux |date=2012-06-04 |accessdate=2012-06-04}} 21. ^1 {{cite web |url=https://www.archlinux.org/news/install-media-20120715-released/ |title=Install media 2012.07.15 released |author=Pierre Schmitz |website=Arch Linux |accessdate=2012-08-13|date=2012-07-22}} 22. ^{{cite web |title=Archlinux |url=http://wiki.polishlinux.org/archlinux |website=Polish Linux Wiki |accessdate=6 June 2018 |archiveurl=https://web.archive.org/web/20140402111550/http://wiki.polishlinux.org/archlinux |archivedate=2 April 2014}} 23. ^{{cite web |url=http://phraktured.net/arch-way.html |title=Archway |author=Aaron Griffin |publisher=phraktured.net |date=2007-11-09 |accessdate=2012-01-22|archive-url=https://web.archive.org/web/20150206004626/http://phraktured.net/arch-way.html|archive-date=2015-02-06|dead-url=yes}} 24. ^{{cite web |url=https://wiki.archlinux.org/index.php/Install_From_Existing_Linux |title=Install From Existing Linux |website=ArchWiki |date=2009-11-21 |accessdate=2009-12-05}} 25. ^[https://packages.debian.org/search?searchon=sourcenames&keywords=abiword AbiWord in Debian] 26. ^[https://packages.debian.org/search?searchon=sourcenames&keywords=writerperfect writerperfect in debian] 27. ^{{cite web |url=https://www.osnews.com/story/10047 |title=Arch Linux: Why It Rocks |author=Eugenia Loli |publisher=OSNews |date=2005-03-21 |accessdate=2011-09-30}} 28. ^1 {{cite web|url=https://wiki.archlinux.org/index.php/Pacman |title=pacman |website=ArchWiki |date=6 August 2017 |accessdate=20 August 2017}} 29. ^{{cite web |url=https://www.archlinux.org/news/switching-to-xz-compression-for-new-packages/ |title=Switching to xz compression for new packages |last=Schmitz |first=Pierre |date=2010-03-23 |website=Arch Linux |accessdate=2017-09-12| archiveurl= https://web.archive.org/web/20100328150644/https://www.archlinux.org/news/490/ |archivedate=28 March 2010 | deadurl= no}} 30. ^{{cite web |url=https://wiki.archlinux.org/index.php/Official_Repositories |title=Official Repositories |website=ArchWiki |accessdate=2012-11-23}} 31. ^{{cite web |url=https://www.archlinux.org/static/magazine/2008/newsletter-2008-Aug-04.html |title=Arch Linux Newsletter 08-04-2008 |website=Arch Linux |date=2008-08-04 |access-date=2009-10-19 |archive-url=https://web.archive.org/web/20130603175852/https://www.archlinux.org/static/magazine/2008/newsletter-2008-Aug-04.html |archive-date=2013-06-03}} 32. ^{{cite web |url=https://wiki.archlinux.org/index.php/Arch_Build_System |title=Arch Build System |website=ArchWiki |date= |accessdate=2009-10-19}} 33. ^{{cite web |url=https://wiki.archlinux.org/index.php/Makepkg |title=Makepkg |website=ArchWiki |accessdate=2013-02-15}} 34. ^{{cite web|url=https://aur.archlinux.org/ |title=AUR (en) - Home |website=AUR |date= |accessdate=2014-02-05}} 35. ^{{cite web |url=http://www.hardware.no/artikler/aaron_griffin_english/49507/3 |title=Arch Linux: Popular KISS distro – Interview – Part II |author=Robin Heggelund Hansen |date=25 March 2008 |publisher=Hardware.no |accessdate=2009-10-19}} 36. ^{{cite web |url=https://library.linode.com/using-linux/package-management#sph_using-the-arch-build-system-abs |title=Using the Arch Build System |publisher=library.linode.com |date=2011-09-08 |accessdate=2011-09-30}} 37. ^{{cite web |url=http://www.linuxdistroreview.com/arch-linux |title=Arch Linux |publisher=linuxdistroreview.com |author=Bo Milanovich |date=2011-03-08 |accessdate=2011-09-30 |archive-url=https://web.archive.org/web/20120221120510/http://www.linuxdistroreview.com/arch-linux |archive-date=2012-02-21 }} 38. ^{{Cite web|url=https://www.archlinux.org/news/the-end-of-i686-support/|title=The end of i686 support|last=Piotrowski|first=Bartłomiej|date=8 November 2017|website=Arch Linux|archive-url=|archive-date=|dead-url=|access-date=12 June 2018}} 39. ^{{cite web|url=https://www.dvd-guides.com/dvdguides/index.php/linux-reviews/212-arch-linux-review |title=Arch Linux Review |publisher=DVD-Guides.com |date=2007 |accessdate=2017-09-13 }} 40. ^{{Cite web|url=https://www.archlinux.org/news/|title=News|last=|first=|date=|website=archlinux.org|archive-url=|archive-date=|dead-url=|access-date=15 August 2018}} 41. ^{{cite web|url=http://www.archbsd.net |title=Arch BSD |publisher=Arch BSD |date= |accessdate=2014-03-25}} 42. ^{{cite web|url=https://www.archhurd.org |title=Arch Hurd |publisher=Arch Hurd |date= |accessdate=2014-03-25}} 43. ^{{cite web|url=https://archlinuxarm.org/ |title=Arch Linux ARM |publisher=Arch Linux ARM |date= |accessdate=2014-03-25}} 44. ^Introduction to Arch Linux, OSNews 45. ^Arch Linux: A Better Distribution, OSNews 46. ^Arch Linux: An End To My Distro Shuffle?, OSNews 47. ^A Week in the Life of an Arch Linux Newbie, OSNews 48. ^Arch Linux: Why It Rocks, OSNews 49. ^Watching the Evolution of Arch Linux, OSNews 50. ^Arch Linux for Power Users [LWN.net] 51. ^[https://lwn.net/Articles/378030/ Rolling with Arch Linux [LWN.net]] 52. ^[https://lwn.net/Articles/637341/ The grumpy editor's Arch Linux experience [LWN.net]] 53. ^Fallen Under the Spell of Arch Voodoo | Tux Machines 2007-04-20 54. ^[https://distrowatch.com/weekly.php?issue=20090119#feature DistroWatch Weekly, Issue 286, 19 January 2009] 55. ^[https://distrowatch.com/weekly.php?issue=20090914#feature DistroWatch Weekly, Issue 320, 14 September 2009] 56. ^[https://distrowatch.com/weekly.php?issue=20151221#arch DistroWatch Weekly, Issue 641, 21 December 2015] External links{{Commons category}}
3 : IA-32 Linux distributions|Pacman-based Linux distributions|X86-64 Linux distributions |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。