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: refresh page #15360

Merged
merged 1 commit into from
Dec 28, 2024
Merged
Changes from all 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
16 changes: 8 additions & 8 deletions pages/linux/pacman.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,31 @@
> 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`

- Install a new package:

`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 -F "{{file_name}}"`
`pacman -Ss "{{search_pattern}}"`

- List installed packages and versions:
- Search the database for packages containing a specific [F]ile:

`pacman -Q`
`pacman -F "{{file_name}}"`

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

Expand Down
Loading