Skip to content

Instantly share code, notes, and snippets.

Last active April 21, 2020 14:49
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Useful pacman commands and packages

Basic usage

pacman -S <package> # Install a package
pacman -Sy # Update package list
pacman -Su # Update installed packages
pacman -Ss <query> # Search packages
pacman -R <package> # Remove a package
pacman -Rs <package> # Remove a package and it's unneeded dependencies

Update list and install basic stuff

pacman -Sy base-devel htop lsof vim curl elinks openssh

Install yaourt for easy AUR installs

Add to /etc/pacman.conf:

SigLevel = Never
Server =$arch
pacman -Sy yaourt base-devel
Copy link

Excellent theme collection:

yaourt -S xfce-theme-greybird elementary-xfce-icons \
    elementary-icon-theme-git elementary-plus-icon-theme \
    mediterranean-gtk-themes-git mediterraneannight-theme \
    gtk-theme-arc-git vertex-themes adapta-gtk-theme \
    zuki-themes-git moslight-themes-git \
    paper-icon-theme-git vertex-icons-git

Generic web dev tools:

yaourt -S sublime-text-dev gksu \

Copy link

You can update AUR packages installed via yaourt with:

yaourt -Syu --aur

Copy link

Minimum xorg packages for working xfce4: xorg-twm mesa xf86-video-vesa

Copy link

Network Manager setup with PPTP:

pacman -S networkmanager networkmanager-pptp network-manager-applet gnome-keyring
systemctl enable NetworkManager

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