Arch AUR: Difference between revisions
From wikinotes
(→Usage) |
|||
Line 24: | Line 24: | ||
# search packages: https://aur.archlinux.org/packages/ | # search packages: https://aur.archlinux.org/packages/ | ||
# click: 'Download Snapshot' | # click: 'Download Snapshot' | ||
tar -xvf | |||
curl -O "https://aur.archlinux.org/cgit/aur.git/snapshot/${package}/tar.gz" | |||
tar -xvf "${package}.tar.gz" # Extract Package | |||
cd Myfile/ | cd Myfile/ | ||
makepkg -s | makepkg -s # Compile Package | ||
sudo pacman -U *.tar.xz | sudo pacman -U *.tar.xz # Install Package | ||
sudo pacman -R Myfile | sudo pacman -R Myfile # Uninstall Package | ||
</source> | </source> | ||
Hacky Nonsense | |||
<syntaxhighlight lang="bash"> | |||
LATEST_VERSION=$(curl -X GET 'https://aur.archlinux.org/packages/qt5-styleplugins' | grep 'Package Details:' | head -n 1 | sed -E 's!^.* ([^ ]+)<.*!\1!') | |||
INSTALLED_VERSION=$(pacman -Q ${package} | awk '{ print $2 }') | |||
</syntaxhighlight> | |||
</blockquote><!-- Usage --> | </blockquote><!-- Usage --> | ||
Revision as of 01:37, 11 February 2023
The Arch User Repository is an un-verified community managed repo of packages.
It adds additional packages not available in the standard archlinux repos.
Locations
https://aur.archlinux.org/cgit/aur.git/snapshot/${PACKAGE}.tar.gz
package URL
Install
Must be able to build packages
sudo pacman -S base-devel
Usage
# search packages: https://aur.archlinux.org/packages/ # click: 'Download Snapshot' curl -O "https://aur.archlinux.org/cgit/aur.git/snapshot/${package}/tar.gz" tar -xvf "${package}.tar.gz" # Extract Package cd Myfile/ makepkg -s # Compile Package sudo pacman -U *.tar.xz # Install Package sudo pacman -R Myfile # Uninstall PackageHacky Nonsense
LATEST_VERSION=$(curl -X GET 'https://aur.archlinux.org/packages/qt5-styleplugins' | grep 'Package Details:' | head -n 1 | sed -E 's!^.* ([^ ]+)<.*!\1!') INSTALLED_VERSION=$(pacman -Q ${package} | awk '{ print $2 }')
Clients
Partly Automated
auracle search, download packages cower Search, Download, Extract packages python3-aur Search AUR Fully Automated
aura pacaur packer yaourt