1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 08:15:28 +02:00

pacman-d: add alias page; pacman-database: update page (#15177)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
You Gao 2024-12-26 13:20:44 -05:00 committed by GitHub
parent 9d2acad21f
commit 5138b9ba19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 9 deletions

7
pages/linux/pacman-d.md Normal file
View file

@ -0,0 +1,7 @@
# pacman -D
> This command is an alias of `pacman --database`.
- View documentation for the original command:
`tldr pacman database`

View file

@ -7,24 +7,24 @@
- Mark a package as implicitly installed:
`sudo pacman --database --asdeps {{package}}`
`sudo pacman -D --asdeps {{package}}`
- Mark a package as explicitly installed:
`sudo pacman --database --asexplicit {{package}}`
`sudo pacman -D --asexplicit {{package}}`
- Check that all the package dependencies are installed:
- Chec[k] that all the package dependencies are installed:
`pacman --database --check`
`pacman -Dk`
- Check the repositories to ensure all specified dependencies are available:
- Chec[k] the sync [D]atabase to ensure all specified dependencies of downloadable packages are available:
`pacman --database --check --check`
`pacman -Dkk`
- Display only error messages:
- Chec[k] and display in [q]uiet mode (only error messages are displayed):
`pacman --database --check --quiet`
`pacman -Dkq`
- Display help:
`pacman --database --help`
`pacman -D --help`