Skip to content

Commit

Permalink
Update pacman.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf authored Jan 4, 2024
1 parent 27368e5 commit 9b821e1
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions cheat-sheet/Packaging/pacman.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ See also [Arch Pacman Reference](https://wiki.archlinux.org/title/Pacman)

## CLI

pacman -S <package> # Install <package>
pacman -R <package> # Remove <package>
pacman -Rn <package> # Purge <package>
pacman -Rs <package> # Remove including orphaned dependencies
pacman -Qdt # List all orphaned packages
pacman -S <package> # Install <package>
pacman -R <package> # Remove <package>
pacman -Rn <package> # Purge <package>
pacman -Rs <package> # Remove including orphaned dependencies
pacman -Qdt # List all orphaned packages

pacman -Sc # Clean package cache
pacman -Syu # Update all packages
pacman -Sc # Clean package cache
pacman -Syu # Update all packages

pacman -Ss <package regex> # Search for <package regex>
pacman -Ss <package regex> # Search for <package regex>

pacman -Si <package> # Detailed info on <package>
pacman -Si <package> # Detailed info on <package>

pacman -Qs <string> # Search for installed packages
pacman -F <string> # Search for files in packages
pacman -Qs <string> # Search for installed packages
pacman -F <string> # Search for files in packages

pacman -Ql <package> # List all files installed by <package>
pacman -Qo <filename> # Check which package installed <filename>
pacman -Ql <package> # List all files installed by <package>
pacman -Qo <filename> # Check which package installed <filename>

0 comments on commit 9b821e1

Please sign in to comment.