Arch AUR¶
Die Zentrale für das AUR - Arch User Repository: https://wiki.archlinux.org/index.php/Arch_User_Repository
Hier der O-Ton von der Arch Wiki Website für das AUR: Arch Wiki Arch User Repository
The Arch User Repository (AUR) is a community-driven repository for Arch users. It contains package descriptions (PKGBUILDs) that allow you to compile a package from source with makepkg and then install it via pacman. The AUR was created to organize and share new packages from the community and to help expedite popular packages‘ inclusion into the community repository. This document explains how users can access and utilize the AUR.
A good number of new packages that enter the official repositories start in the AUR. In the AUR, users are able to contribute their own package builds (PKGBUILD and related files). The AUR community has the ability to vote for packages in the AUR. If a package becomes popular enough — provided it has a compatible license and good packaging technique — it may be entered into the community repository (directly accessible by pacman or abs).
Gefahr
Warning: AUR packages are user produced content. These PKGBUILDs are completely unofficial and have not been thoroughly vetted. Any use of the provided files is at your own risk.
Dem ist nichts mehr hinzuzufügen…
AUR nutzen
https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_and_upgrading_packages
Die nötigen Install-Dateien auf dem eigenen System bereitstellen
per git clone
per curl einen Snapshat (*.tar.gz) und mit tar entpacken
Wir klonen:
$ git clone https://aur.archlinux.org/package_name.git
$ cd package_name
$ less PKGBUILD
Hinweis
Signaturen beachten und die Inhalte von PKGBUILD und den .install files beachten
Wir bauen die Software mit:
$ makepkg -si
-s
- synchronisiert Abhängigkeiten-i
- installiertAlternative: the built package installieren mit
pacman -U package_name.pkg.tar.zst
AUR Packages aktualisieren
Neueste Version pullen:
$ git pull
$ makepkg -si
AUR Helper bereitstellen - AUR Hilfsprogramme
https://wiki.archlinux.de/title/AUR_Hilfsprogramme
Ich entscheide mich für yay - sehr modern in GO programmiert und umgesetzt. Die Syntax ist komplett an pacman angelehnt und lässt sich daher sehr einfach nutzen. Oft kann man Parameter auch einfach weglassen.
Suchen nach yay im AUR: https://aur.archlinux.org/packages/?O=0&K=yay
yay gemäß Anleitung oben bereitstellen - hier genauer yay-git (Developer Version) statt yay
git clone https://aur.archlinux.org/yay-git.git # oder: ./yay.git
cd yay-git # oder: cd yay
# Erinnerung: Analyse/Einsicht in Install-Configs
makepkg -si
yay nutzen
Beispiel: Picom Alternative von Entwickler Jonaburg bereitstellen (Runde Ecken + Animationen)
git clone https://aur.archlinux.org/picom-jonaburg-git.git
cd picom-jonaburg-git
# Erinnerung: Analyse/Einsicht in Install-Configs
makepkg -si
Erinnerung: diese Picom-Variante benutzt eine eigene picom.conf
mit Zusatzeinträgen.
…tbc…