data.haus blog

minimal tech for today

Pacman

2022-04-20 - psic4t

When I migrated from Ubuntu to Arch I had a hard time remembering Pacman’s (the Arch package manager) commands. Here we go:

Consider using yay as a frontend for pacman. Really convernient + fast. Plus you can manage AUR packages with it as well.

Update 2019: Nah.

I use the following aliases/bash functions in .bashrc:

alias upd='sudo pacman -Syu'

alias ins='sudo pacman -Sy'

alias aursearch='curl -s https://aur.archlinux.org/packages.gz
| zgrep'

aurinst () { pushd /home/psic4t/sys/aur &&
git clone https://aur.archlinux.org/"$1".git &&
cd "$1" && makepkg -si && popd; }
View more postsRSS