@@ -5,7 +5,7 @@
|
||||
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
|
||||
> More information: <https://manned.org/pacman.8>.
|
||||
|
||||
- Synchronize and update all packages:
|
||||
- [S]ynchronize and update all packages:
|
||||
|
||||
`sudo pacman -Syu`
|
||||
|
||||
@@ -13,23 +13,23 @@
|
||||
|
||||
`sudo pacman -S {{package}}`
|
||||
|
||||
- Remove a package and its dependencies:
|
||||
- [R]emove a package and its dependencies:
|
||||
|
||||
`sudo pacman -Rs {{package}}`
|
||||
|
||||
- Search the database for packages containing a specific file:
|
||||
- Search ([s]) the package database for a regular expression or keyword:
|
||||
|
||||
`pacman -Ss "{{search_pattern}}"`
|
||||
|
||||
- Search the database for packages containing a specific [F]ile:
|
||||
|
||||
`pacman -F "{{file_name}}"`
|
||||
|
||||
- List installed packages and versions:
|
||||
|
||||
`pacman -Q`
|
||||
|
||||
- List only the explicitly installed packages and versions:
|
||||
- List only the [e]xplicitly installed packages and versions:
|
||||
|
||||
`pacman -Qe`
|
||||
|
||||
- List orphan packages (installed as dependencies but not actually required by any package):
|
||||
- List orphan packages (installed as [d]ependencies but not actually required by any package):
|
||||
|
||||
`pacman -Qtdq`
|
||||
|
||||
|
Reference in New Issue
Block a user