Skip to content

Instantly share code, notes, and snippets.

@mortymacs
Created August 14, 2017 04:11
Show Gist options
  • Select an option

  • Save mortymacs/806cb1de7b7f18f3ebcb538a0c89a650 to your computer and use it in GitHub Desktop.

Select an option

Save mortymacs/806cb1de7b7f18f3ebcb538a0c89a650 to your computer and use it in GitHub Desktop.
Pacman Sample Commands

Update All Sources and Packages:

$ pacman -Syu

Search Package:

$ pacman -Ss <PACKAGE NAME>

Install Package:

$ pacman -S <PACKAGE NAME>

List of All Installed Packages With Info:

$ pacman -Qi

Info of Installed Package:

$ pacman -Qi <PACKAGE NAME>

Search for Installed Package Without Info:

$ pacman -Qs <PACKAGE NAME>

Cleanup Cache Files and Unused Repositories:

$ pacman -Sc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment