Difference between revisions of "Arch Terminology (Русский)"
|Line 5:||Line 5:|
Revision as of 02:46, 23 August 2013zh-CN:Arch Terminology
Эта статья прояснит некоторые термины, которые используют в сообществе Arch Linux. Не стесняйтесь вносить правки, но желательно "Править" конкретный раздел, в не всю страницу. Пожалуйста, сохраняйте алфавитный порядок при добавлении нового раздела.
- 1 Arch Linux
- 2 ABS
- 3 ARM
- 4 AUR
- 5 PKGBUILD
- 6 TU, Trusted User
- 7 bbs
- 8 community/[community]
- 9 core/[core]
- 10 custom/user repository
- 11 Developer
- 12 extra/[extra]
- 13 hwd
- 14 hwdetect
- 15 initramfs
- 16 initrd
- 17 makepkg
- 18 namcap
- 19 package
- 20 Package maintainer
- 21 pacman
- 22 pacman.conf
- 23 repository/repo
- 24 RTFM
- 25 taurball
- 26 testing/[testing]
- 27 udev
- 28 wiki
Следует придерживаться следующего написания имени Arch:
- Arch Linux
- Arch (Linux добавляем в уме)
- archlinux (в стиле UNIX)
Archlinux, ArchLinux, archLinux, aRcHlInUx и прочие вариации - долой.
'Arch' (подразумевая "Arch Linux") произносится /ˈɑrtʃ/ (арч), как в словах "archer" или "arch-nemesis", но не как в словах "ark" или "archangel" (арк).
Arch Build System (ABS, Система Сборки для Arch) нужна, чтобы:
- Создавать новые пакеты программ
- Редактировать существующие пакеты под свои нужды
- Пересобирать систему, используя флаги компиляции (примерно как в Gentoo)
- Настраивать модули ядра на работу с модифицированным вами ядром
ABS полезна при использоввании Arch Linux, но не обязательна.
Arch Rollback Machine это зеркало, с которого можно было загрузить старые версии пакетов для отката системы.
Arch User Repository (AUR, Репозиторий пользователей Arch) - это поддерживаемый сообществом репозиторий пользователей Arch. AUR был изначально задуман, чтобы собрать в одном месте широко распространенные среди сообщества PKGBUILD-ы и ускорить процесс попадания наиболее популярных из репозитория AUR [community] в репозитории [core] и [extra].
AUR - это родина всех новых пакетов. Пользователи представляют в AUR самостоятельно созданные пакеты. Сообщество AUR голосует за любимые из них, и, когда набирается достаточное количество голосов, AUR Trusted User может перевести пакет в репозиторий [community], к которому можно получить доступ через pacman и ABS.
AUR находится здесь здесь.
TU, Trusted User
Доверенный пользователь поддерживает репозитории AUR и [community]. У него есть привилегия перемещать особо популярные пакеты из AUR в [community]. TU назначается большинством голосов при голосовании других TU.
Bulletin board system. Но в случае Arch это форум по поддержке пользователей.
To access the [community] repository, uncomment it in
The [core] repository contains the bare packages needed for an Arch Linux system. [core] has everything needed to get a working command-line system.
Anyone can create a repository and put it online for other users. To create a repository, you need a set of packages and a pacman-compatible database file for your packages. Host your files online and everyone will be able to use your repository by adding it as a regular repository.
Half-gods working to improve Arch for no financial gain. Developers are outranked only by our gods, Judd Vinet and Aaron Griffin, who in turn are outranked by tacos.
Arch's official package set is fairly streamlined, but we supplement this with a larger, more complete "extra" repository that contains a lot of the stuff that never made it into our core package set. This repository is constantly growing with the help of packages submitted from our strong community. This is where desktop environments, window managers and common programs are found.
AUR is hardware detection tool and
xorg.conf generator for Arch Linux. Instead of running an auto configure script which might be expected, hwd does not change existing configuration. It detects hardware and modules, and provides information on how to make changes manually. This allows the user to have control over his/her own system, which is the basic philosophy of Arch Linux.
hwdetect is a hardware detection script primarily used to load or list modules for use in
/etc/mkinitcpio.conf. The script makes use of information exported by the sysfs subsystem employed by the Linux kernel.
The special file
/dev/initrd is a read-only block device. Device
/dev/initrd is a RAM disk that is initialized (e.g. loaded) by the boot loader before the kernel is started. The kernel then can use the block device
/dev/initrd's contents for a two phased system boot-up.
In the first boot-up phase, the kernel starts up and mounts an initial root file-system from the contents of
/dev/initrd (e.g. RAM disk initialized by the boot loader). In the second phase, additional drivers or other modules are loaded from the initial root device's contents. After loading the additional modules, a new root file system (i.e. the normal root file system) is mounted from a different device.
makepkg will build packages for you. makepkg will read the metadata required from a PKGBUILD file. All it needs is a build-capable Linux platform, , and some build scripts. The advantage to a script-based build is that you only really do the work once. Once you have the build script for a package, you just need to run makepkg and it will do the rest: download and validate source files, check dependencies, configure the build time settings, build the package, install the package into a temporary root, make customizations, generate meta-info, and package the whole thing up for pacman to use.
Rules return lists of messages. Each message can be one of three types: error, warning, or information (think of them as notes or comments). Errors (designated by 'E:') are things that namcap is very sure are wrong and need to be fixed. Warnings (designated by 'W:') are things that namcap thinks should be changed but if you know what you are doing then you can leave them. Information (designated 'I:') are only shown when you use the info argument. Information messages give information that might be helpful but is not anything that needs changing.
A package is an archive containing
- all of the (compiled) files of an application
- metadata about the application, such as application name, version, dependencies, ...
- installation files and directives for pacman
- (optionally) extra files to make your life easier, such as a start/stop script
Arch's package manager pacman can install, update, and remove those packages. Using packages instead of compiling and installing programs yourself has various benefits:
- easily updatable: pacman will update existing packages as soon as updates are available
- dependency checks: pacman handles dependencies for you, you only need to specify the program and pacman installs it together with every other program it needs
- clean removal: pacman has a list of every file in a package. This way, no files are left behind when you decide to remove a package.
The role of the package maintainer is to update packages as new versions become available upstream and to field support questions relating to bugs in said packages. The term may be applied to any of the following:
- A core Arch Linux developer who maintains a software package in one of the official repositories (core, extra, or testing).
- A Trusted User of the community who maintains software packages in the unsupported/unofficial community repository.
- A normal user who maintains a PKGBUILD and local source files in the AUR.
The maintainer of a package is the person currently responsible for the package. Previous maintainers should be listed as contributors in the PKGBUILD along with others who have contributed to the package.
The pacman package manager is one of the great highlights of Arch Linux. It combines a simple binary package format with an easy-to-use build system (see ABS). Pacman makes it possible to easily manage and customize packages, whether they be from the official Arch repositories or the user's own creations. The repository system allows users to build and maintain their own custom package repositories, which encourages community growth and contribution (see AUR).
Pacman can keep a system up to date by synchronizing package lists with the master server, making it a breeze for the security-conscious system administrator to maintain. This server/client model also allows you to download/install packages with a simple command, complete with all required dependencies (similar to Debian's apt-get).
NB: Pacman was written by Judd Vinet, the creator of Arch Linux. It is used as a package management tool by other distributions as well, such as FrugalWare, Rubix, UfficioZero (in Italian, based on Ubuntu), and, of course, Arch based distributions such as Archie and AEGIS.
This is the configuration file of pacman. It is located in
/etc. For a full explanation of its powers, type this at the command line:
The repository has the pre-compiled packages of one or (usually) more PKGBUILDs. Official repositories are
- [core]: containing the latest version of packages required for a full CLI system
- [extra]: containing the latest version of packages not needed for a working system but are needed for an enjoyable system ;)
- [community]: containing packages that came from AUR and got enough user votes
Pacman uses these repositories to search for packages and install them. A repository can be local (i.e. on your own computer) or remote (i.e. the packages are downloaded before they are installed).
"Read The Fucking (or Fine) Manual". This simple message is replied to a lot of new Linux/Arch users who ask about the functionality of a program when it is clearly defined in the program's manual.
It is often used when a user fails to make any attempt to find a solution to the problem themselves. If someone tells you this, they are not trying to offend you; they are just frustrated with your lack of effort.
The best thing to do if you are told to do this is to read the manual page.
- To read the program manual page for a particular program, type this at the command line:
where PROGRAM-NAME is the name of the program you need more information about.
If you do not find the answer to your question in the program manual, there are more ways to find the answer. You can:
The tarballed PKGBUILD and local source files that are required by makepkg to create an installable binary package. The name is derived from the practice of uploading such tarballs to the AUR, hence "tAURball".
This is the repository where major packages/updates to packages are kept prior to release into the main repositories, so they can be bug tested and upgrade issues can be found. It is disabled by default but can be enabled in
udev provides a dynamic device directory containing only the files for actually present devices. It creates or removes device node files in the
/dev directory, or it renames network interfaces.
Usually udev runs as udevd(8) and receives uevents directly from the kernel if a device is added/removed to/from the system.
If udev receives a device event, it matches its configured rules against the available device attributes provided in sysfs to identify the device. Rules that match may provide additional device information or specify a device node name and multiple symlink names and instruct udev to run additional programs as part of the device event handling.
This! A place to find documentation about Arch Linux. Anyone can add and modify the documentation.