What is arch linux based on

Содержание
  1. Arch Linux
  2. Contents
  3. Principles
  4. Simplicity
  5. Modernity
  6. Pragmatism
  7. User centrality
  8. Versatility
  9. History
  10. The early years
  11. The middle years
  12. Birth of the ArchWiki
  13. The dawning of the age of A. Griffin
  14. Arch Install Scripts
  15. The systemd era
  16. Drop of i686 support
  17. Review of Project Leader role and election
  18. Frequently asked questions
  19. Contents
  20. General
  21. What is Arch Linux?
  22. Why would I not want to use Arch?
  23. Why would I want to use Arch?
  24. What architectures does Arch support?
  25. Does Arch follow the Linux Foundation’s Filesystem Hierarchy Standard (FHS)?
  26. I am a complete GNU/Linux beginner. Should I use Arch?
  27. Is Arch designed to be used as a server? A desktop? A workstation?
  28. I really like Arch, except the development team needs to implement feature X
  29. When will the new release be made available?
  30. Is Arch Linux a stable distribution? Will I get frequent breakage?
  31. Arch needs more press (i.e. advertisement)
  32. Arch needs more developers
  33. Installation
  34. Arch needs an installer. Maybe a GUI installer?
  35. I installed Arch, and now I am at a shell! What now?
  36. Which desktop environment or window manager should I use?
  37. What makes Arch unique amongst other «minimal» distributions?
  38. System maintenance
  39. Why is my internet so slow compared to other operating systems?
  40. Why is Arch using all my RAM?
  41. Where did all my free space go?
  42. Package management
  43. I have found an error with package X. What should I do?
  44. Arch packages need to use a unique naming convention. «.pkg.tar.gz» and «.pkg.tar.xz» are too long and/or confusing
  45. Pacman needs a library so other applications can easily access package information
  46. Pacman needs feature X!
  47. I just installed Package X. How do I start it?
  48. Why is there only a single version of each shared library in the official repositories?
  49. What if I run a full system upgrade and there will be an update for a shared library, but not for the apps that depend on it?
  50. Is it possible that there is a major kernel update in the repository, and that some of the driver packages have not been updated?
  51. What to do before upgrading?
  52. A package update was released, but pacman says the system is up to date
  53. Upstream project X has released a new version. How long will it take for the Arch package to update to that new version?
  54. If I need an older version of an installed library, can I just symlink to the newer version?
  55. 64-bit
  56. How do I determine if my processor is x86_64 compatible?
  57. Why 64-bit?

Arch Linux

Arch Linux is an independently developed, x86-64 general-purpose GNU/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.

Contents

Principles

Simplicity

Arch Linux defines simplicity as without unnecessary additions or modifications. It ships software as released by the original developers (upstream) with minimal distribution-specific (downstream) changes: patches not accepted by upstream are avoided, and Arch’s downstream patches consist almost entirely of backported bug fixes that are obsoleted by the project’s next release.

In a similar fashion, Arch ships the configuration files provided by upstream with changes limited to distribution-specific issues like adjusting the system file paths. It does not add automation features such as enabling a service simply because the package was installed. Packages are only split when compelling advantages exist, such as to save disk space in particularly bad cases of waste. GUI configuration utilities are not officially provided, encouraging users to perform most system configuration from the shell and a text editor.

Modernity

Arch Linux strives to maintain the latest stable release versions of its software as long as systemic package breakage can be reasonably avoided. It is based on a rolling-release system, which allows a one-time installation with continuous upgrades.

Arch incorporates many of the newer features available to GNU/Linux users, including the systemd init system, modern file systems, LVM2, software RAID, udev support and initcpio (with mkinitcpio), as well as the latest available kernels.

Pragmatism

Arch is a pragmatic distribution rather than an ideological one. The principles here are only useful guidelines. Ultimately, design decisions are made on a case-by-case basis through developer consensus. Evidence-based technical analysis and debate are what matter, not politics or popular opinion.

The large number of packages and build scripts in the various Arch Linux repositories offer free and open source software for those who prefer it, as well as proprietary software packages for those who embrace functionality over ideology.

User centrality

Whereas many GNU/Linux distributions attempt to be more user-friendly, Arch Linux has always been, and shall always remain user-centric. The distribution is intended to fill the needs of those contributing to it, rather than trying to appeal to as many users as possible. It is targeted at the proficient GNU/Linux user, or anyone with a do-it-yourself attitude who is willing to read the documentation, and solve their own problems.

All users are encouraged to participate and contribute to the distribution. Reporting and helping fix bugs is highly valued and patches improving packages or the core projects are very appreciated: Arch’s developers are volunteers and active contributors will often find themselves becoming part of that team. Archers can freely contribute packages to the Arch User Repository, improve the ArchWiki documentation, provide technical assistance to others or just exchange opinions in the forums, mailing lists, or IRC channels. Arch Linux is the operating system of choice for many people around the globe, and there exist several international communities that offer help and provide documentation in many different languages.

Versatility

Arch Linux is a general-purpose distribution. Upon installation, only a command-line environment is provided: rather than tearing out unneeded and unwanted packages, the user is offered the ability to build a custom system by choosing among thousands of high-quality packages provided in the official repositories for the x86-64 architecture.

Читайте также:  Excel для mac os sierra

Arch is backed by pacman, a lightweight, simple and fast package manager that allows to upgrade the entire system with one command. Arch also provides the Arch Build System, a ports-like system to make it easy to build and install packages from source, which can also be synchronized with one command. In addition, the Arch User Repository contains many thousands more of community-contributed PKGBUILD scripts for compiling installable packages from source using the makepkg application. It is also possible for users to build and maintain their own custom repositories with ease.

History

The Arch community has grown and matured to become one of the most popular and influential Linux distributions, also testified by the attention and review received over the years.

Arch developers remain unpaid, part-time volunteers, and there are no prospects for monetizing Arch Linux, so it will remain free in all senses of the word. Those curious to peruse more detail about Arch’s development history can browse the Arch entry in the Internet Archive Wayback Machine and the Arch Linux News Archives.

The early years

Judd Vinet, a Canadian programmer and occasional guitarist, began developing Arch Linux in early 2001. Its first formal release, Arch Linux 0.1, was on March 11, 2002. Inspired by the elegant simplicity of Slackware, BSD, PLD Linux and CRUX, and yet disappointed with their lack of package management at the time, Vinet built his own distribution on similar principles as those distros. But, he also wrote a package management program called pacman, to automatically handle package installation, removal, and upgrades.

The middle years

The early Arch community grew steadily, as evidenced by this chart of forum posts, users, and bug reports. Moreover, it was from its early days known as an open, friendly, and helpful community.

Birth of the ArchWiki

On 2005-07-08 the ArchWiki was first set up on the MediaWiki engine.

The dawning of the age of A. Griffin

In late 2007, Judd Vinet retired from active participation as an Arch developer, and smoothly transferred the reins over to American programmer Aaron Griffin, also known as Phrakture.

Arch Install Scripts

The 2012-07-15 release of the installation image deprecated the menu-driven Arch Installation Framework (AIF) in favor of the Arch Install Scripts ( arch-install-scripts ).

The systemd era

Between 2012 and 2013 the traditional System V init system was replaced by systemd.[1][2][3][4]

Drop of i686 support

On 2017-01-25 it was announced that support for the i686 architecture would be phased out due to its decreasing popularity among the developers and the community. By the end of November 2017, all i686 packages were removed from the mirrors.

Review of Project Leader role and election

At the start of 2020, in a team effort the Arch Linux staff devised a new process for determining future leaders, documented in DeveloperWiki:Project Leader.

As Aaron Griffin had decided to step down from his role, a poll was held to elect a new person to replace him, and on 2020-02-24 its results were published, making the election of Levente Polyak official.

Источник

Frequently asked questions

Contents

General

What is Arch Linux?

See the Arch Linux article.

Why would I not want to use Arch?

You may not want to use Arch, if:

  • you do not have the ability/time/desire for a ‘do-it-yourself’ GNU/Linux distribution.
  • you require support for an architecture other than x86_64.
  • you take a strong stand on using a distribution which only provides free software as defined by GNU.
  • you believe an operating system should configure itself, run out of the box, and include a complete default set of software and desktop environment on the installation media.
  • you do not want a rolling release GNU/Linux distribution.
  • you are happy with your current OS.

Why would I want to use Arch?

What architectures does Arch support?

Arch only supports the x86_64 (sometimes called amd64) architecture. Support for i686 was dropped in November 2017 [1].

There are unofficial ports for the i686 architecture [2] and ARM CPUs [3], each with their own community channels. [4]

Does Arch follow the Linux Foundation’s Filesystem Hierarchy Standard (FHS)?

Arch Linux follows the file system hierarchy for operating systems using the systemd service manager. See file-hierarchy(7) for an explanation of each directory along with their designations. In particular, /bin , /sbin , and /usr/sbin are symbolic links to /usr/bin , and /lib and /lib64 are symbolic links to /usr/lib .

I am a complete GNU/Linux beginner. Should I use Arch?

If you are a beginner and want to use Arch, you must be willing to invest time into learning a new system, and accept that Arch is designed as a ‘do-it-yourself’ distribution; it is the user who assembles the system.

Before asking for help, do your own independent research by searching the Web, the forum and the superb documentation provided by the Arch Wiki. There is a reason these resources were made available to you in the first place. Many thousands of volunteered hours have been spent compiling this excellent information.

Is Arch designed to be used as a server? A desktop? A workstation?

Arch is not designed for any particular type of use. Rather, it is designed for a particular type of user. Arch targets competent users who enjoy its ‘do-it-yourself’ nature, and who further exploit it to shape the system to fit their unique needs. Therefore, in the hands of its target user base, Arch can be used for virtually any purpose. Many use Arch on both their desktops and workstations. And of course, archlinux.org, aur.archlinux.org and almost all of Arch’s infrastructure runs on Arch.

I really like Arch, except the development team needs to implement feature X

Get involved, contribute your code/solution to the community. If it is well-regarded by the community and development team, perhaps it will be merged. The Arch community thrives on contribution and sharing of code and tools.

Читайте также:  Плагин для windows movie maker

When will the new release be made available?

Arch Linux releases are simply a live environment for installation or rescue, which include the base meta package and a few other packages. The releases are issued usually in the first half of every month.

Is Arch Linux a stable distribution? Will I get frequent breakage?

It is the user who is ultimately responsible for the stability of their own rolling release system. The user decides when to upgrade, and merges necessary changes when required. If the user reaches out to the community, help is often provided in a timely manner. The difference between Arch and other distributions in this regard is that Arch is truly a ‘do-it-yourself’ distribution; complaints of breakage are misguided and unproductive, since upstream changes are not the responsibility of Arch devs.

See the System maintenance article for tips on how to make an Arch Linux system as stable as possible.

Arch needs more press (i.e. advertisement)

Arch gets plenty of press as it is. The goal of Arch Linux is not to be large; rather, organic, sustainable growth occurs naturally amongst the target user base.

Arch needs more developers

Possibly so. Feel free to volunteer your time! Visit the forums, IRC channels, and mailing lists, and see what needs to be done. See also Getting involved for details.

Installation

Arch needs an installer. Maybe a GUI installer?

Arch used to have an installer with a text-based user interface called the Arch Installation Framework (AIF). After its last maintainer left, it was deprecated in favor of arch-install-scripts .

Since April 1st 2021, Arch has an installer again. See archinstall for details.

I installed Arch, and now I am at a shell! What now?

Which desktop environment or window manager should I use?

Since many are available to you, use the one that best fits your needs. Have a look at the Desktop environment and Window manager articles.

What makes Arch unique amongst other «minimal» distributions?

System maintenance

Why is my internet so slow compared to other operating systems?

Is your network configured correctly? Have a look at the Network configuration article.

Also note that Arch Linux does not come with traffic shaping enabled. Thus, it is possible that if a program on it somehow utilizes your internet connection to the full – regardless if it is over P2P or classic client-server connections – other local ones will find it clogged, resulting in severe lags and timeouts. Relief can be provided by firewalls such as Shorewall or Vuurmuur; there are also static scripts for iproute2 (such as this derivative of Wondershaper), which allow shaping on the network layer.

Why is Arch using all my RAM?

Essentially, unused RAM is wasted RAM.

Many new users notice how the Linux kernel handles memory differently than they are used to. Since accessing data from RAM is much faster than from a storage drive, the kernel caches recently accessed data in memory. The cached data is only cleared when the system begins to run out of available memory and new data needs to be loaded.

We could distinguish the difference from free command:

It is important to note the difference between «free» and «available» memory. In the above example, a laptop with 2.8 GiB of total RAM appears to be using most of it, with only 283 MiB as free memory. However, 1.4 GiB of it is «buff/cache». There is still 1.2 GiB available for starting new applications, without swapping. See free(1) for details. The result of all this? Performance!

See this wonderful article if your curiosity has been piqued. There is also a website dedicated to clearing this confusion: https://www.linuxatemyram.com/.

Where did all my free space go?

The answer to this question depends on your system. There are some fine utilities that may help you find the answer.

Package management

I have found an error with package X. What should I do?

First, you need to figure out if this error is something the Arch team can fix. Sometimes it is not (e.g. Firefox crashes may be the fault of the Mozilla team); this is called an upstream error. If it is an Arch problem, there is a series of steps you can take:

  1. Search the forums for information. See if anyone else has noticed it.
  2. Post a bug report with detailed information at https://bugs.archlinux.org.
  3. If you would like, write a forum post detailing the problem and the fact that you have reported it already. This will help prevent a lot of people from reporting the same error.

Arch packages need to use a unique naming convention. «.pkg.tar.gz» and «.pkg.tar.xz» are too long and/or confusing

This has been discussed on the Arch mailing list. Some proposed a .pac file extension, but there is no plan to change the package extension. As Tobias Kieslich, one of the Arch developers, put it, «A package is a gzipped [xz] tarball! And it can be opened, investigated and manipulated by any tar-capable application. Moreover, the mime-type is automatically detected correctly by most applications.»

Pacman needs a library so other applications can easily access package information

Pacman is a front-end to libalpm(3) —the «Arch Linux Package Management» library—which allows alternative front-ends, like a GUI front-end, to be written.

Pacman needs feature X!

If you think an idea has merit, you may choose to discuss it on pacman-dev. Also check https://bugs.archlinux.org/index.php?project=3 for existing feature requests.

However, the best way to get a feature added to pacman or Arch Linux is to implement it yourself. The patch or code may or may not be officially accepted, but perhaps others will appreciate, test and contribute to your effort.

Читайте также:  Pxe windows from linux

I just installed Package X. How do I start it?

If you are using a desktop environment like KDE or GNOME, the program should automatically show up in your menu. If you are trying to run the program from a terminal and do not know the binary name, use:

Why is there only a single version of each shared library in the official repositories?

Several distributions, such as Debian, have different versions of shared libraries packaged as different packages: libfoo1 , libfoo2 , libfoo3 and so on. In this way it is possible to have applications compiled against different versions of libfoo installed on the same system.

In case of a distribution like Arch, only the latest stable versions of packages are officially supported. By dropping support for outdated software, package maintainers are able to spend more time ensuring that the newest versions work as expected. As soon as a new version of a shared library becomes available from upstream, it is added to the repositories and affected packages are rebuilt to use the new version.

What if I run a full system upgrade and there will be an update for a shared library, but not for the apps that depend on it?

This scenario should not happen at all. Assuming an application called foobaz is in one of the official repositories and builds successfully against a new version of a shared library called libbaz , it will be updated along with libbaz . If, however, it does not build successfully, foobaz package will have a versioned dependency (e.g. libbaz 1.5), and will be removed by pacman during libbaz upgrade, due to a conflict.

If foobaz is a package that you built yourself and installed from AUR, you should try rebuilding foobaz against the new version of libbaz . If the build fails, report the bug to the foobaz developers.

Is it possible that there is a major kernel update in the repository, and that some of the driver packages have not been updated?

No, it is not possible. Major kernel updates (e.g. linux 3.5.0-1 to linux 3.6.0-1) are always accompanied by rebuilds of all supported kernel driver packages. On the other hand, if you have an unsupported driver package (e.g. from the AUR) installed on your system, then a kernel update might break things for you if you do not rebuild it for the new kernel. Users are responsible for updating any unsupported driver packages that they have installed.

What to do before upgrading?

A package update was released, but pacman says the system is up to date

pacman mirrors are not synced immediately. It may take over 24 hours before an update is available to you. The only options are be patient or use another mirror. MirrorStatus can help you identify an up-to-date mirror.

Upstream project X has released a new version. How long will it take for the Arch package to update to that new version?

Package updates will be released when they are ready. The specific amount of time can be as short as a few hours after upstream releases a minor bugfix update to as long as several weeks after a large package group’s major update. The amount of time from an upstream’s new version to Arch releasing a new package depends on the specific packages and the availability of the package maintainers. Additionally, some packages spend some time in the testing repository, so this can prolong the time before a package is updated. Package maintainers attempt to work quickly to bring stable updates to the repositories. If you find a package in the official repositories that is out of date, go to that package’s page at the package website and flag it.

If I need an older version of an installed library, can I just symlink to the newer version?

If you are lucky, it might work, for a time. Regardless, it is not a proper solution, because:

  • Libraries do not change versions randomly – the API/ABI will have likely changed (possibly with bits removed), and whether those changes affect the usage is just a matter of luck.
  • The symlink would be untracked by a package manager. Newbies who immediately try to hack on system library files are in the greatest risk of making an unwanted change that they cannot diagnose/fix, which a package manager helps to guard against.
  • A slight alternative of dumping the old library file into the filesystem, untracked, would be forgotten about, and not have potential security bugs noticed/patched.

Instead, e.g. use/write a compat package, which provides the required library version.

64-bit

How do I determine if my processor is x86_64 compatible?

If your processor is x86_64 compatible, you will have the lm (long mode) flag in /proc/cpuinfo . For example,

Under Windows, using the freeware CPU-Z helps determine whether your CPU is 64-bit compatible. CPUs with AMD’s instruction set «AMD64» or Intel’s solution «EM64T» should be compatible with the x86_64 releases and binary packages.

Why 64-bit?

It is faster under most circumstances and as an added bonus also inherently more secure due to the nature of Address space layout randomization (ASLR) in combination with Position-independent code (PIC) and the NX Bit which is not available in the stock i686 kernel due to disabled Physical Address Extension (PAE). If your computer has more than 4 GiB of RAM, only a 64-bit OS will be able to fully utilize it.

Programmers also increasingly tend to care less about 32-bit («legacy») as «new» x86 CPUs typically support the 64-bit extensions.

There are many more reasons we could list here to tell you to avoid 32-bit, but between the kernel, userspace and individual programs it is simply not viable to list every last thing that 64-bit does much better these days.

Источник

Оцените статью