Tutorials  /  Linux Basics

What to do after installing Arch Linux?

Ccentron Redaktion · January 2024 ·6 min read ·Linux Basics, Tutorial

A vanilla Arch Linux installation gives you your base operating system with no utilities, allowing you to choose what you want your Operating System to behave like. This allows the user to have complete access over their operating system.

A vanilla installation leaves you with nothing more than just a black screen which is for you to customize. In this module, we’ll be walking through the essential things to do after installing Arch Linux.

1. Update The System

First things first, update the system with the pacman command:

Console
$ sudo pacman -Syyu

Now we can go ahead and install packages and other application on our system!

VM

Matching infrastructure at centron

No hardware needed to follow along: ccloud³ VMs with full root access start at €3.12 per month, billed by the hour and ready in seconds. Rent a cloud server →

2. Install A Display Server

To get a GUI environment, first we need to install a Display Server. The go-to option is to install xorg, which is one of the oldest and the most popular display servers out there.

Console
$ sudo pacman -S xorg

3. Install A Desktop Environment

Next up, we would need a Desktop Environment for our distro. Popular choices include:

  • Xfce4
  • KDE Plasma
  • Gnome
  • Cinnamon
  • MATE

To install Xfce4:

Console
$ sudo pacman -S xfce4 xfce4-goodies

To install KDE Plasma:

Console
$ sudo pacman -S plasma

To install Gnome:

Console
$ sudo pacman -S gnome gnome-extra

To install Cinnamon:

Console
$ sudo pacman -S cinnamon nemo-fileroller

To install MATE:

Console
$ sudo pacman -S mate mate-extra

4. Install A Display Manager

Next up, we would need a Display Manager which would enable us to login to our Desktop Environments. The popular choices are:

  • LightDM
  • LXDM
  • SDDM

To install LightDM:

Console
$ sudo pacman -S lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings

Enable LightDM with:

Console
$ sudo systemctl enable lightdm

To install LXDM:

Console
$ pacman -S lxdm

Enable LXDM with:

Console
$ sudo systemctl enable lxdm.service

To install SDDM:

Console
$ sudo pacman -S sddm

Enable SDDM with:

Console
$ sudo systemctl enable sddm

5. Install An AUR Helper

One of the main reasons is the Arch User Repository (AUR) which has a vast array of packages and application. However, we cannot fetch these packages directly using pacman. To fetch packages from AUR we need special programs called AUR Helpers. There are many such helpers available but the one we recommend is paru.

To install Paru:

Console
$ sudo pacman -S base-devel git --needed 
$ cd paru
$ makepkg -si

Now we can fetch packages from AUR with:

Console
$ paru -S 

6. Install Additional Kernels

It is considered good practice to have multiple kernels at your disposal, just in case the main kernel runs into any issues.

The popular kernels apart from the mainline Linux Kernel are:

  • Linux LTS Kernel
  • Linux Hardened Kernel
  • Linux Zen Kernel

To install the LTS kernel:

Console
$ sudo pacman -S linux-lts linux-lts-headers

To install the Hardened Kernel:

Console
$ sudo pacman -S linux-hardened linux-hardened-headers

To install the Zen Kernel:

Console
$ sudo pacman -S linux-zen linux-zen-headers

7. Install Microcode

Processor manufacturers release stability and security updates to the processor microcode. These updates provide bug fixes that can be critical to the stability of your system. Without them, you may experience spurious crashes or unexpected system halts that can be difficult to track down. It is recommended to install it after Arch install just for the sake of stability.

For Intel Processors:

Console
$ sudo pacman -S intel-ucode
$ sudo grub-mkconfig -o /boot/grub/grub.cfg

For AMD Processors:

Console
$ sudo pacman -S linux-firmware
$ sudo grub-mkconfig -o /boot/grub/grub.cfg

8. Rank Mirrorlists

In order to have faster updates, you can rank your mirrors according to their speed. To do so, first backup your current mirrorlist.

Console
# mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak

Next up, to rank all mirrors based on their speed with:

Console
# rankmirrors /etc/pacman.d/mirrorlist.bak > /etc/pacman.d/mirrorlist

Conclusion

Thus in this module we covered the essential things to be done after an Arch install. There’s still a lot to do, especially regarding the installation of essentials but we would leave that to the reader as to what applications they want to work with! A Vanilla Arch Linux Installation Guide

Jetzt 200 € Guthaben sichern

Testen Sie Ihr Setup auf ccloud³

Registrieren Sie sich in der ccloud³ und erhalten Sie 200 € Startguthaben für Ihr Projekt – z. B. für eine PostgreSQL-VM mit automatischen Backups.

centron Redaktion Technische Redaktion

Das Redaktionsteam von centron schreibt Anleitungen aus dem Betriebsalltag: getestet auf unserer eigenen Plattform, betrieben im Rechenzentrum in Hallstadt bei Bamberg.

Kategorie Linux Basics
Teilen
Noch offene Fragen?

Our team will help you with your specific setup - in German or English, by people who run the platform themselves.

War dieses Tutorial hilfreich?

Your answer is stored anonymously and helps us improve our tutorials.

Kommentare

No comments yet - be the first to ask a question about this tutorial.

Sign in to comment

Comments are open to centron customers. Sign in to your account to ask a question about this tutorial.

Weiterlesen

Das könnte Sie auch interessieren

Jetzt kostenlos anfangen

Melden Sie sich an und erhalten Sie in den ersten 60 Tagen ein Guthaben von 200 € bei centron.

Dieses Werbeangebot gilt nur für neue Konten. Angebot ausschließlich für Gewerbetreibende.

Jetzt loslegen Sales kontaktieren