Last active
February 17, 2017 12:07
-
-
Save tomisme/9315bbe2d9d17502b7d18c534e2311b1 to your computer and use it in GitHub Desktop.
arch package management commands (https://github.com/aurapm/aura)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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