From 20200303850c2e728e127a221e210a58d3eead23 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 28 Dec 2024 15:49:46 +0200 Subject: [PATCH] pacman: refresh page (#15360) Update pacman.md --- pages/linux/pacman.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/linux/pacman.md b/pages/linux/pacman.md index 9aa2a94ddc..ca0bb1ad43 100644 --- a/pages/linux/pacman.md +++ b/pages/linux/pacman.md @@ -5,7 +5,7 @@ > For equivalent commands in other package managers, see . > More information: . -- Synchronize and update all packages: +- [S]ynchronize and update all packages: `sudo pacman -Syu` @@ -13,23 +13,23 @@ `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 -Ss "{{search_pattern}}"` + +- Search the database for packages containing a specific [F]ile: `pacman -F "{{file_name}}"` -- List installed packages and versions: - -`pacman -Q` - -- 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`