Skip to content

Instantly share code, notes, and snippets.

@tomisme tomisme/packages.sh
Last active Feb 17, 2017

Embed
What would you like to do?
arch package management commands (https://github.com/aurapm/aura)
# check for updates for installed (non AUR) packages
checkupdates
# update (non AUR) packages
aura -Syu
# update all installed AUR packags (after looking at diffs)
aura -Akua
# check diff / update single AUR package
aura -Ak <PACKAGE_NAME>
# search the AUR
aura -As <SEARCH_TERM>
# search syc database
aura -Ss <SEARCH_TERM>
# remove a package
aura -Rs <PACKAGE_NAME>
# list all (non AUR) packages
aura -Qqe
# list all (AUR) packages
aura -Qqm
# backup (untested)
pacman -Qqe | grep -vx "$(pacman -Qqm)" > pacman.lst
# restore (untested)
cat pacman.lst | xargs pacman -S --needed --noconfirm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.