The Beginner’s Guide to using Pacman.

Thomas Jowsey
ArchTuts
Published in
2 min readAug 3, 2018
I search for Pacman commands, only to find a guide on how to cheat in Pacman the Game. Really useful stuff..

This is a beginner’s guide. Not every command is here. The commands listed here are the commands that everyone should know as an Arch user. If you would like to learn the advanced commands of Pacman, I may also do a guide for that at a later date. I highly recommend bookmarking this article so you can come back to it at a later date when required. Also, share this with your friends so they too can ditch the GUI and go full command-line!

Installing and Removing packages.

Installing a package:

sudo pacman -S <packageName>

Uninstalling a package:

sudo pacman -R <packageName>

Uninstalling a package + useless dependencies:

sudo pacman -Rs <packageName>

Updating and upgrading packages.

Updating the package repositories:

sudo pacman -Sy

Updating the repos and updating any new softwares:

sudo pacman -Syu

Force-updating the package repositories:

sudo pacman -Syy

Force-updating the repos and updating any new softwares:

sudo pacman -Syyu

I will add more commands if people think they should be here, but that is a very basic list of all the commands you should know as a beginner coming in to using Pacman. ❤

Make sure to leave a clap ( or 2, or 40.. ) and bookmark this page so you don’t forget the commands!

--

--