ToolDescription
ArchcraftYet another minimal distro
ArcoLinuxAnother distro
BlingUtilities for AwesomeWM
AwesomeWMWindow Manager
QtileTiling window manager

Pacman

Display information

pacman -Qii

Display information by name

pacman -Qi name

Packages installed

pacman -Qdt
  • Packages installed with third party tools (paru)
pacman -Qm
  • Show you packages that you explicitly installed and that aren’t dependencies of some other package.
pacman -Qet

All packages

pacman -Qqe

Remove package

pacman -R name

Remove all package from package

pacman -Rns name

Remove packages your system doesn’t need

pacman -Yc

Clean pacman cache

sudo pacman -Scc

Pacman Mirrors

Install reflector for update packages.

sudo pacman -S reflector

Create a backup for mirrorlist.

cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bkp

Add mirrors

sudo reflector --country 'Spain,France' --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist

Edit pacman.conf for uncomment parallel downloads

sudo vim /etc/pacman.conf
#MaxParallelDownloads = 5

Java

https://rtfm.co.ua/en/arch-linux-set-a-java-version/

paru -S jdk
sudo archlinux-java status

Certificates

Add trusted certificates:

  • Move /usr/local/share/ca-certificates/*.crt to /etc/ca-certificates/trust-source/anchors/

  • Do the same with all manually-added /etc/ssl/certs/*.pem files and rename them to *.crt

  • Instead of update-ca-certificates, run sudo trust extract-compat

# one by one
trust anchor --store server.crt
sudo update-ca-trust

List all

trust list

Move all

sudo mv *.pem /etc/ca-certificates/trust-source/anchors/
sudo trust extract-compat
sudo update-ca-trust

Errors

  • Error with GPG keys

error: failed to run: gpg --recv-keys 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D E3FF2839C048B25C084DEBE9B26995E310250568

pacman-key --refresh-keys