Skip to content

Install Essential Packages

This is 2.1-2.2 of https://wiki.archlinux.org/title/Installation_guide

(Optional) Select the mirrors

The mirrors are usually set up correctly by default. If you want to change them, see https://wiki.archlinux.org/title/Installation_guide#Select_the_mirrors

Install essential packages

Run pacstrap to install the base packages. The command below shows my list of packages. You can add or remove as you like.

For AMD CPU:

pacstrap -K /mnt base pacman-contrib base-devel linux linux-lts linux-firmware linux-headers linux-lts-headers dkms amd-ucode git neovim fzf htop lsof openssh sudo networkmanager curl wget zip unzip man-db man-pages texinfo
pacstrap -K /mnt base pacman-contrib base-devel linux linux-lts linux-firmware linux-headers linux-lts-headers dkms amd-ucode git neovim fzf htop lsof openssh sudo networkmanager curl wget zip unzip man-db man-pages texinfo

For Intel CPU:

pacstrap -K /mnt base pacman-contrib base-devel linux linux-lts linux-firmware linux-headers linux-lts-headers dkms intel-ucode git neovim fzf htop lsof openssh sudo networkmanager curl wget zip unzip man-db man-pages texinfo
pacstrap -K /mnt base pacman-contrib base-devel linux linux-lts linux-firmware linux-headers linux-lts-headers dkms intel-ucode git neovim fzf htop lsof openssh sudo networkmanager curl wget zip unzip man-db man-pages texinfo

Details

PackageDescription
baseThis is the most important meta package that includes a minimal set of things you need, like glibc, bash and pacman (the package manager)
pacman-contribContains utilities for updating mirror list for pacman
base-develMeta package for building packages from source. Includes things like make and gcc.
linux and linux-ltsThe kernel and the Long-Term Support (LTS) kernel
linux-firmwareFirmware stuff I don't understand that you should probably get
linux-headers and linux-lts-headersHeaders for the kernel and the LTS kernel. In case you have stuff to link with the kernel
dkmsDynamic Kernel Module Support. In case you have kernel modules that need to be recompiled when the kernel is updated
amd-ucode or intel-ucodeMicrocode for AMD or Intel CPUs. See https://wiki.archlinux.org/title/Microcode for more info
gitVersion control system. You probably need this
cmakeBuild system. Need this for some of the tools we install later
neovimText editor we will use in the headless environment
fzfFuzzy finder
htopLike top or task manager
lsofShows what files are opened by what process
opensshSSH server
sudoYou probably need this
networkmanagerNetwork manager
curl and wgetDownload stuff
zip and unzipFor compressing and decompressing zip files
man-db, man-pages and texinfoManual pages

TIP

There's no shell because bash is included in base. If you prefer another shell like zsh, include it