Skip to content

Commit

Permalink
Create pacman.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf authored Jan 4, 2024
1 parent 22b0c52 commit 61cf2e3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions cheat-sheet/Packaging/pacman.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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 -Sc # Clean package cache
pacman -Syu # Update all packages

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

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

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>

0 comments on commit 61cf2e3

Please sign in to comment.