Advanced

Arch Linux & Arch-based distros

Arch Linux and its "children", such as EndeavourOS, Manjaro, CachyOS and Omarchy, are some of the most talked-about distros today. This page explains what makes them different, which one might suit you, and how to keep one running smoothly.

Before you start

This page assumes you're comfortable with Level 2: the terminal, sudo and installing software. The commands for Arch's package manager, pacman, and the AUR are in the package manager guide, so they aren't repeated here.

What is Arch?

Arch Linux is a distro that gives you a minimal base system and lets you decide everything else: which desktop, which apps, which settings. Nothing is pre-installed that you didn't choose.

In plain words

Ubuntu and Mint are like a furnished flat: move in and start living. Arch is an empty flat with excellent building instructions. It takes longer to move in, but every piece of furniture is one you picked, and you know exactly where every wire runs.

Arch is known for four things:

Many distros are built on top of Arch. They use the same package manager and much of the same software, but add a graphical installer, ready-made settings or a special focus. Even Valve's SteamOS, which runs the Steam Deck, is based on Arch.

Rolling release explained

Distros get new software in one of two ways:

Fixed release (Ubuntu, Mint, Fedora)Rolling release (Arch and family)
How updates arriveBig new version every 6 months to 2 years. In between, mostly security fixes.A constant stream of small updates. There are no "versions" of Arch at all.
Software ageCan be months or years oldUsually days or weeks old
Big upgradesOccasionally, and they can be bumpyNever: you're always on the latest
SurprisesFewOccasionally an update needs a manual step or changes how something behaves
Comparable toBuying a new phone model every few yearsAn app that updates itself every week

Rolling releases are great for new hardware, gaming and anyone who wants the latest features. The price is that you are partly responsible for keeping things working, which is what the Keeping it healthy section is about.

Is Arch for me?

Arch-based is a good fit if you…Choose Mint, Ubuntu or Fedora instead if you…
Want to learn how Linux really worksJust want a computer that works, with as little tinkering as possible
Have brand-new hardware that needs the newest driversAre setting up a computer for a relative who won't maintain it
Want the latest versions of apps, games and driversPrefer stability over the newest features
Enjoy customising your systemDon't want to read update news or solve the occasional problem
Are comfortable with the terminal (or want to be)Rarely use the terminal
A safe way to find out

Try one in a virtual machine first. GNOME Boxes or VirtualBox lets you install and break an Arch system in a window, without risking your real computer.

The Arch family compared

Arch LinuxEndeavourOSManjaroCachyOSOmarchy
In one lineThe original: build it yourselfArch with a friendly installerArch-like, with extra testing and GUI toolsArch tuned for speed and gamingArch as a ready-made, keyboard-driven developer setup
Installerarchinstall (text menus) or by handGraphicalGraphicalGraphical or textOwn installer: a few questions, then done
DesktopNone until you pick oneYour choice (KDE by default)KDE, GNOME or Xfce editionsYour choice of manyHyprland (tiling), fully themed
UpdatesAs soon as they're releasedSame as ArchHeld back a while for testingSame pace as Arch, CPU-optimised buildsVia the Omarchy menu. Stable channel lags Arch by about a month.
Uses Arch's own packages?YesYes (plus a small extra repo)No, its own repositoriesArch plus its own optimised reposIts own Arch mirror plus an Omarchy repo
Arch Wiki applies?FullyAlmost fullyMostly, with differencesMostlyMostly, plus the Omarchy manual
Best forLearning, full control"Real" Arch without the manual installA gentler, more cautious Arch-like systemGamers, performance fansDevelopers who love the keyboard

Arch Linux itself

Arch Linux is the original that the others build on. You install a small base system, then add exactly what you want: a desktop, a browser, drivers, and so on.

Download: archlinux.org/download

EndeavourOS

EndeavourOS is Arch with a graphical installer and a few sensible defaults. Once it's installed, you're running almost exactly Arch: the same packages from the same repositories, updated at the same time. That's why it's often recommended as "the easy way into real Arch".

$ yay          # updates everything: Arch packages, EndeavourOS packages and AUR

Download: endeavouros.com

Manjaro

Manjaro takes Arch and makes it more cautious and more graphical. It has been around for a long time and is backed by a company.

$ pamac update                                 # update with Manjaro's own tool (or use the GUI)
$ sudo pacman-mirrors --fasttrack && sudo pacman -Syyu   # pick fast mirrors, then update
Manjaro and the AUR

AUR recipes are written for current Arch. Because Manjaro's packages lag behind, AUR packages sometimes fail to build or break after an update. Use the AUR sparingly on Manjaro. Pamac can enable it in its settings.

Tip

Each stable update is announced in the Stable Updates section of the Manjaro forum, with known issues and fixes. Read it before updating.

Download: manjaro.org

CachyOS

CachyOS is Arch rebuilt for speed. It's become very popular with gamers.

Day to day it works like Arch: sudo pacman -Syu to update, plus paru or yay for the AUR.

Download: cachyos.org

Omarchy

Omarchy, created by David Heinemeier Hansson (the creator of Ruby on Rails), is Arch Linux delivered as a complete, opinionated setup. The name comes from omakase, Japanese for "chef's choice": the tools and settings are picked for you, and you can still change anything.

The shortcuts to learn first

KeysWhat it does
Super+SpaceThe Omarchy menu: almost everything starts here, including updates
Super+KShow all keyboard shortcuts
Super+ReturnOpen a terminal
Super+Shift+ReturnOpen the browser
Super+WClose the window
Super+FFull screen

Updating Omarchy

When an update is available, a circular arrow icon appears next to the clock. Click it, or choose Update → Omarchy in the Omarchy menu. This updates Omarchy, your system packages and your AUR packages together, and applies any configuration changes a new release needs. Use this instead of plain pacman -Syu.

To undo a bad update, choose an earlier snapshot from the boot menu (Limine), or run omarchy-snapshot restore. Snapshots restore the system, not your personal files in /home, so you still need backups.

Before installing Omarchy
  • You must turn off Secure Boot (and TPM) in the BIOS/UEFI settings.
  • Dual-booting with Windows? Turn off BitLocker in Windows first.
  • Use a wired or 2.4 GHz wireless keyboard. Bluetooth keyboards can't type the disk encryption password at startup.
  • The full-disk option wipes the whole drive. Back up first.

Download & manual: omarchy.org · The Omarchy Manual

Installing Arch with archinstall

Since 2021, the Arch ISO includes archinstall, a guided installer that runs in text menus. It's much quicker than a manual install, while still letting you choose everything.

Careful

Back up first, and practise in a virtual machine if you can. archinstall's menus change a little between versions, so the names below may differ slightly from what you see.

  1. Create a USB stick from the ISO (see Level 1) and boot from it. You'll land at a text prompt as root.
  2. Get online. With a network cable you're already connected. For Wi-Fi:
    # iwctl device list                         # find your Wi-Fi device name, often wlan0
    # iwctl station wlan0 connect "MyWiFi"      # asks for the password
    # ping -c 3 archlinux.org                   # check it works
    (The prompt is # instead of $ because you're root here.)
  3. Start the installer: type archinstall and press Enter.
  4. Work through the menu. Use the arrow keys and Enter. The important items:
    • Mirrors: choose your country, for faster downloads.
    • Disk configuration: "Use a best-effort default partition layout", pick your disk, then a file system. btrfs allows snapshots, ext4 is the classic choice. This erases the disk. You can enable disk encryption here too.
    • Bootloader: the default is fine. Choose GRUB if you'll dual-boot with Windows.
    • Authentication / User account: create your user and make it a superuser (so you can use sudo).
    • Profile: Desktop → pick one, e.g. KDE Plasma or GNOME. Choose your graphics driver if asked.
    • Audio: Pipewire.
    • Network configuration: Use NetworkManager. Otherwise you may have no internet after rebooting.
    • Additional repositories: tick multilib if you want Steam.
    • Timezone: yours.
  5. Choose Install, wait, then reboot and remove the USB stick.

First things after installing

These apply to Arch and EndeavourOS. Manjaro, CachyOS and Omarchy do most of this for you.

1. Update everything

$ sudo pacman -Syu

2. Make pacman nicer

Edit /etc/pacman.conf (sudo nano /etc/pacman.conf) and, under [options], remove the # in front of:

Color                   # coloured output
ParallelDownloads = 5   # download several packages at once

3. Enable multilib (needed for Steam)

If you didn't tick it in archinstall, remove the # from these two lines in /etc/pacman.conf, then run sudo pacman -Syu:

[multilib]
Include = /etc/pacman.d/mirrorlist

4. Install an AUR helper

See installing yay. (EndeavourOS already has it.)

5. Faster mirrors

$ sudo pacman -S reflector
# replace the countries with ones near you
$ sudo reflector --country Germany,France --latest 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist

6. Safety net

$ sudo pacman -S linux-lts                   # a second, slower-moving kernel to fall back on
$ sudo pacman -S ufw && sudo ufw enable && sudo systemctl enable ufw   # firewall
$ sudo pacman -S pacman-contrib && sudo systemctl enable --now paccache.timer   # auto-clean the package cache

Then set up Timeshift (from the AUR) or Snapper (for btrfs) for system snapshots. See Backups. If you installed linux-lts with GRUB, run sudo grub-mkconfig -o /boot/grub/grub.cfg so it appears in the boot menu.

Keeping it healthy

A well-kept Arch system can run for years without a reinstall. The habits that matter:

HabitWhyHow
Update about once a weekSmall, frequent updates are smooth. Months of updates at once are more likely to need fixing.sudo pacman -Syu or yay
Read the news firstUpdates that need a manual step are announced herearchlinux.org/news, or yay -Pw in the terminal
Read pacman's outputWarnings and instructions appear right there in the terminalDon't just press Y and walk away
Merge .pacnew filesNew default config files are saved next to yours rather than overwriting themsudo pacdiff (from pacman-contrib)
Reboot after kernel updatesSome things, like plugging in USB devices, can misbehave until you doWhen linux was updated
Never partial-upgradeMixing old and new packages breaks thingsNever pacman -Sy pkg. See why.
Keep AUR packages fewThey aren't checked and can break after Arch updatesPrefer official packages or Flatpak
Keep a USB stick readyIt's your rescue kitA recent Arch ISO on a USB stick

Two common errors and their fixes

"signature is unknown trust" / "invalid or corrupted package (PGP signature)": your keyring (the list of trusted packagers) is out of date, which usually happens when you haven't updated for a long time:

$ sudo pacman -Sy archlinux-keyring && sudo pacman -Su

"unable to lock database": another pacman is running, or one crashed. If you're sure no update is running:

$ sudo rm /var/lib/pacman/db.lck

When it won't start

  1. Try the fallback first. In the boot menu, pick the linux-lts kernel, or a snapshot (Omarchy, or btrfs + Snapper).
  2. If that doesn't work, use the Arch USB stick to "step inside" your installed system and repair it. This is called chroot:
# lsblk                              # find your partitions
# mount /dev/nvme0n1p2 /mnt          # your root (main) partition
# mount /dev/nvme0n1p1 /mnt/boot     # your boot (EFI) partition
# arch-chroot /mnt                   # you're now "inside" your installed system
# pacman -Syu                        # e.g. finish an interrupted update
# exit
# reboot

Your partition names will differ, so check with lsblk. If your disk is encrypted, unlock it first with cryptsetup open /dev/nvme0n1p2 root, then mount /dev/mapper/root instead. On btrfs, the root is often a subvolume: add -o subvol=@ to the mount command. The Arch Wiki page Chroot covers every case.

Using the Arch Wiki

The Arch Wiki is the most valuable resource for any Arch-based system, and very useful for other distros too.