1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 14:35:27 +02:00

pacman: refresh page (#15360)

Update pacman.md
This commit is contained in:
Managor 2024-12-28 15:49:46 +02:00 committed by GitHub
parent 58a805851b
commit 2020030385
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`