git clone
a package from AUR (the unofficial Arch Linux package repository that contains user-submitted packages), without having to remember the URL.
Your ssh key must be set up at the AUR web page first for this to work.
One way is to install it from AUR, another way is:
sudo pacman -S base-devel git go --noconfirm --needed
go get -u github.com/xyproto/aget
sudo install -Dm755 ~/go/bin/aget /usr/bin/aget
An alternative to go get
+ install
is to use go install
:
go install github.com/xyproto/aget@latest
First make sure that base
and base-devel
are installed.
Then download the ld-lsb
package from AUR:
aget ld-lsb
Build and install it with makepkg
:
makepkg -i
aget newpackage
- Version: 1.3.3
- Author: Alexander F. Rødseth <xyproto@archlinux.org>
- License: BSD-3