Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 10 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pages/linux/pacman-d.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# pacman -D

> This command is an alias of `pacman --database`.

- View documentation for the original command:

`tldr pacman database`
18 changes: 9 additions & 9 deletions pages/linux/pacman-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
- Check ([k]) that all the package dependencies are installed:
You-Gao marked this conversation as resolved.
Show resolved Hide resolved

`pacman --database --check`
`pacman -Dk`

- Check the repositories to ensure all specified dependencies are available:
- Double check ([kk]) the sync database to ensure all specified dependencies of downloadable packages are available:
You-Gao marked this conversation as resolved.
Show resolved Hide resolved

`pacman --database --check --check`
`pacman -Dkk`

- Display only error messages:
- Check ([k]) and display in quiet ([q]) mode (no error message displayed):
You-Gao marked this conversation as resolved.
Show resolved Hide resolved

`pacman --database --check --quiet`
`pacman -Dkq`

- Display help:

`pacman --database --help`
`pacman -D --help`
Loading