From 221c1ce1909daf63fd4583d5a0d050ca371690ba Mon Sep 17 00:00:00 2001 From: Manu Date: Tue, 3 Sep 2013 04:09:36 +0200 Subject: [PATCH] Added pacman (archlinux PACkage MANager) cheatsheet --- cheatsheets/pacman | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 cheatsheets/pacman diff --git a/cheatsheets/pacman b/cheatsheets/pacman new file mode 100644 index 0000000..bffe1f5 --- /dev/null +++ b/cheatsheets/pacman @@ -0,0 +1,32 @@ +# All the following command work as well with multiple package names + +# To search for a package +pacman -Ss + +# To update the local package base and upgrade all out of date packages +pacman -Suy + +# To install a package +pacman -S + +# To uninstall a package +pacman -R + +# To uninstall a package and his depedencies, removing all new orphans +pacman -Rcs + +# To get informations about a package +pacman -Si + +# To install a package from builded package file (.tar.xz) +pacman -U + +# To list the commands provided by an installed package +pacman -Ql nvidia-utils | sed -n -e 's/.*\/bin\///p' | tail -n +2 + +# To list explicitly installed packages +pacman -Qe + +# To list orphan packages (installed as dependencies and not required anymore) +pacman -Qdt +