Skip to content

Instantly share code, notes, and snippets.

@Alanaktion
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
Embed
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:

[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch
pacman -Sy yaourt base-devel
@Alanaktion
Copy link
Author

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 \
    firefox-developer

@Alanaktion
Copy link
Author

You can update AUR packages installed via yaourt with:

yaourt -Syu --aur

@Alanaktion
Copy link
Author

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

@Alanaktion
Copy link
Author

Network Manager setup with PPTP:

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

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