Skip to content

Instantly share code, notes, and snippets.

@Ruttmann
Last active April 29, 2019 12:55
Show Gist options
  • Save Ruttmann/6d2511e7212b0c249435cebe7e020a3a to your computer and use it in GitHub Desktop.
Save Ruttmann/6d2511e7212b0c249435cebe7e020a3a to your computer and use it in GitHub Desktop.
Pacman

SYNC DATABASES

sudo pacman -Syyu

SEARCH MANJARO REPOS

pacman -Ss [package name]

SEARCH MANJARO SYSTEM

pacman -Qs [package name]

pacman -Qi [package name] <--- MORE DETAILS

pacman -Qii [package name] <--- EVEN MORE DETAILS

LIST ALL INSTALLED PACKAGES

pacman -Ql

LIST DEPENDENCIES OF A SOFTWARE PACKAGE

pactree [package name]

LIST ORPHANS

pacman -Qdt

REMOVE ORPHANS

sudo pacman -Rs ${pacman -Qqdt}

INSTALL SOFTWARE PACKAGES

sudo pacman -Syu [package name]

DOWNLOAD A PACKAGE WITHOUT INSTALLING

sudo pacman -Syuw [package name]

INSTALL ALREADY DOWNLOADED PACKAGES

sudo pacman -U [/path/packagename]

INSTALL PACKAGE VIA URL

sudo pacman -U http://www.examplepackage/repo/examplepkg.tar.xz

REMOVE APPLICATIONS

sudo pacman -R [package name]

REMOVE APPLICATIONS AND ITS DEPENDENCIES

sudo pacman -Rs

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