Skip to content

Instantly share code, notes, and snippets.

@tomisme
Last active February 17, 2017 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomisme/9315bbe2d9d17502b7d18c534e2311b1 to your computer and use it in GitHub Desktop.
Save tomisme/9315bbe2d9d17502b7d18c534e2311b1 to your computer and use it in GitHub Desktop.
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