mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 14:35:27 +02:00
parent
58a805851b
commit
2020030385
1 changed files with 9 additions and 9 deletions
|
@ -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`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue