2014-01-30 04:45:28 +00:00
|
|
|
# pacman
|
|
|
|
|
|
|
|
> Arch Linux package manager utility
|
|
|
|
|
|
|
|
- synchronize and update all packages
|
2015-10-22 08:00:05 +01:00
|
|
|
|
2015-12-29 14:47:46 +00:00
|
|
|
`pacman -Syu`
|
2014-01-30 04:45:28 +00:00
|
|
|
|
|
|
|
- install a new package
|
|
|
|
|
|
|
|
`pacman -S package-name`
|
|
|
|
|
2014-01-30 06:07:01 +00:00
|
|
|
- remove a package and its dependencies
|
2015-10-22 08:00:05 +01:00
|
|
|
|
2014-01-30 04:45:28 +00:00
|
|
|
`pacman -Rs package-name`
|
|
|
|
|
|
|
|
- search the package database for a keyword
|
|
|
|
|
|
|
|
`pacman -Ss icon theme`
|
|
|
|
|
|
|
|
- list installed packages and versions
|
|
|
|
|
|
|
|
`pacman -Q`
|
2015-12-29 11:20:11 +00:00
|
|
|
|
|
|
|
- list only the explicitly installed packages and versions
|
|
|
|
|
|
|
|
`pacman -Qe`
|
2016-01-05 02:19:53 +00:00
|
|
|
|
|
|
|
- find which package owns a certain file
|
|
|
|
|
|
|
|
`pacman -Qo filename`
|
|
|
|
|
|
|
|
- empty package cache to free up space
|
|
|
|
|
|
|
|
`pacman -Scc`
|