Update cheatsheets

This commit is contained in:
ivuorinen
2024-12-29 00:19:25 +00:00
parent 5c2908e043
commit 2f5c37424b
24 changed files with 392 additions and 11 deletions

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
> 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`
@@ -18,23 +18,23 @@ source: https://github.com/tldr-pages/tldr.git
`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`