Skip to content

Instantly share code, notes, and snippets.

@marcolussetti
Last active September 27, 2016 01:18
Show Gist options
  • Save marcolussetti/b7b3c177d18c96c3654e to your computer and use it in GitHub Desktop.
Save marcolussetti/b7b3c177d18c96c3654e to your computer and use it in GitHub Desktop.
Manjaro useful commands
#System update
pacman -Syu #full upgrade of pacman packages
yaourt -Syu --devel --aur #full upgrade of aur packages installed with yaourt
#Package management
pacman -S package #Installs package
pacman -Ss package #Finds package
pacman -Sy #Updates package list
pacman -Qa #List packages installed from AUR
yaourt -S package #Installs AUR package
yaourt -Ss package #Finds AUR package
pacman -Rs # Removes package and unneded dependencies
pacman -Qs #Searches if package is installed
pacman -Qo whois #Determins which package installed a given file, works with full path too
pacman -Sc #Cleans up cache of unneded packages
pacman -Sw #Download only a package
pacman -Rs $(pacman -Qtdq) #Remove all unneded dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment