tldr/pages/linux/pacman.md

36 lines
537 B
Markdown
Raw Normal View History

2014-01-30 04:45:28 +00:00
# pacman
> Arch Linux package manager utility
- synchronize and update all packages
`pacman -Syu`
2014-01-30 04:45:28 +00:00
- install a new package
`pacman -S package-name`
- remove a package and its dependencies
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`
- 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`