ArchLinux:Packages: Difference between revisions
(Created page with "{{DISPLAYTITLE:{{TitleIcon|arch=true}} Managing Packages}}<metadesc>Tips and tricks for managing packages on Arch Linux.</metadesc> <div id="tocalign">__TOC__</div> {{UnderCon...") |
mNo edit summary |
||
Line 13: | Line 13: | ||
{{Warning|Due to a security issue where files are sourced before giving the user a chance to interact, it is not recommeneded to use {{mono|packer}} or {{mono|yaourt}}.}} | {{Warning|Due to a security issue where files are sourced before giving the user a chance to interact, it is not recommeneded to use {{mono|packer}} or {{mono|yaourt}}.}} | ||
I personally use {{mono|pacaur}} and would also recommend the same to anyone. | I personally use {{mono|pacaur}} and would also recommend the same to anyone. | ||
== {{Icon|notebook}} AUR Helper Installation == | |||
To install [[aur:pacaur]] first manually install {{mono|cower}}. | |||
{{Console|1=git clone <nowiki>https://aur.archlinux.org/cower.git</nowiki>|2=cd cower && makepkg -si && cd .. && rm -rf cower}} | |||
{{Note|If {{mono|makepkg}} complains about GPG keys see [[aur:cower|this pinned comment]] or use {{mono|gpg --recv-keys --keyserver hkp://pgp.mit.edu 1EB2638FF56C0C53}}}} | |||
Then proceed to install {{mono|pacaur}} manually. | |||
{{Console|1=git clone <nowiki>https://aur.archlinux.org/pacaur.git</nowiki>|2=cd pacaur && makepkg -si && cd .. && rm -rf pacaur}} | |||
[[Category:Arch Linux]] | [[Category:Arch Linux]] |
Revision as of 12:39, 24 July 2017
UNDER CONSTRUCTION: The document is currently being modified! |
Introduction
Managing packages on Arch Linux is honestly a joy to behold once it is fully understood. This is a collection of useful tips and tricks that I have picked up over the years using Arch.
Official Repositories
The Arch official repositories according to the ArchWiki contain "essential and popular software" and are maintained by the package maintainers that are part of the core Arch team. The official repositories are made up of core, extra, multilib and testing. Typically a user is already familiar with the first two, the third if you are a gamer (it is used to install 32-bit versions of libraries); but testing is usually new to a lot of users. The testing repository is used for testing packages that are soon to be migrated into one of the other repositories (ie. currently in testing).
Arch User Repositories (AUR)
The AUR (or Arch User Repositories) simply put, contain everything else. The AUR is a community-driven repository where users can contribute packages and/or vote on package submissions to be moved into the community repository. Normally access to packages in the AUR require the use of a 3rd party package utility or by building them manually, once moved into community they can be directly accessed over pacman or abs.
Some utilities for managing packages from the AUR include: aur:cower, aur:pacaur, aur:packer, aur:trizen, aur:yaourt
WARNING: Due to a security issue where files are sourced before giving the user a chance to interact, it is not recommeneded to use packer or yaourt. |
I personally use pacaur and would also recommend the same to anyone.
AUR Helper Installation
To install aur:pacaur first manually install cower.
# git clone https://aur.archlinux.org/cower.git # cd cower && makepkg -si && cd .. && rm -rf cower |
If makepkg complains about GPG keys see this pinned comment or use gpg --recv-keys --keyserver hkp://pgp.mit.edu 1EB2638FF56C0C53 |
Then proceed to install pacaur manually.
# git clone https://aur.archlinux.org/pacaur.git # cd pacaur && makepkg -si && cd .. && rm -rf pacaur |