mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-10 07:55:47 +02:00

Hey there, I took the liberty to add the command `pacman -Qe` for listing all and only the explicitly installed packages (`-e` option), still showing versions. Useful when you want a concise list of the packages you have without all the dependencies.
27 lines
418 B
Markdown
27 lines
418 B
Markdown
# pacman
|
|
|
|
> Arch Linux package manager utility
|
|
|
|
- synchronize and update all packages
|
|
|
|
`pacman -Syyu`
|
|
|
|
- install a new package
|
|
|
|
`pacman -S package-name`
|
|
|
|
- remove a package and its dependencies
|
|
|
|
`pacman -Rs package-name`
|
|
|
|
- search the package database for a keyword
|
|
|
|
`pacman -Ss icon theme`
|
|
|
|
- list installed packages and versions
|
|
|
|
`pacman -Q`
|
|
|
|
- list only the explicitly installed packages and versions
|
|
|
|
`pacman -Qe`
|