Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-22 00:20:00 +00:00
parent 95bf44ebad
commit 41718ee5b4
6 changed files with 86 additions and 9 deletions

View File

@@ -15,4 +15,4 @@ source: https://github.com/tldr-pages/tldr.git
- Synchronize and update all packages:
`xbps-install --sync --update`
`xbps-install {{[-S|--sync]}} {{[-u|--update]}}`

View File

@@ -11,20 +11,20 @@ source: https://github.com/tldr-pages/tldr.git
- Search for a package in remote repositories using a regular expression or a keyword (if `--regex` is omitted):
`xbps-query --search {{regular_expression|keyword}} --repository --regex`
`xbps-query {{[-s|--search]}} {{regular_expression|keyword}} --repository --regex`
- Show information about an installed package:
`xbps-query --show {{package}}`
`xbps-query {{[-S|--show]}} {{package}}`
- Show information about a package in remote repositories:
`xbps-query --show {{package}} --repository`
`xbps-query {{[-S|--show]}} {{package}} --repository`
- List packages registered in the package database:
`xbps-query --list-pkgs`
`xbps-query {{[-l|--list-pkgs]}}`
- List explicitly installed packages (i.e. not automatically installed as dependencies):
`xbps-query --list-manual-pkgs`
`xbps-query {{[-m|--list-manual-pkgs]}}`

View File

@@ -15,12 +15,12 @@ source: https://github.com/tldr-pages/tldr.git
- Remove a package and its dependencies:
`xbps-remove --recursive {{package}}`
`xbps-remove {{[-R|--recursive]}} {{package}}`
- Remove orphan packages (installed as dependencies but no longer required by any package):
`xbps-remove --remove-orphans`
`xbps-remove {{[-o|--remove-orphans]}}`
- Remove obsolete packages from the cache:
`xbps-remove --clean-cache`
`xbps-remove {{[-O|--clean-cache]}}`