What Is Arch Linux and Why Install It?
Arch Linux is a lightweight, rolling-release Linux distribution that follows a "do it yourself" philosophy. Unlike beginner-friendly distros that come pre-configured, Arch gives you a minimal base system and lets you build your environment from the ground up. It's an excellent way to truly understand how Linux works under the hood.
Before You Begin: Prerequisites
- A USB drive (at least 2 GB)
- A machine with at least 512 MB RAM (2 GB recommended)
- 20 GB of free disk space
- A stable internet connection
- Patience and willingness to read the Arch Wiki
Step 1: Download and Flash the ISO
Head to the official Arch Linux download page and grab the latest ISO. Verify the checksum to ensure the file hasn't been tampered with:
sha256sum archlinux-*.iso
Use a tool like Balena Etcher or dd to write the ISO to your USB drive:
dd bs=4M if=archlinux-*.iso of=/dev/sdX status=progress oflag=sync
Step 2: Boot and Set Up the Environment
Boot from the USB and you'll land in a live shell. First, ensure you're connected to the internet:
ping -c 3 archlinux.org
For Wi-Fi, use the iwctl interactive prompt to connect to your network.
Step 3: Partition Your Disk
Use fdisk or cfdisk to partition your disk. A minimal EFI setup needs:
- EFI partition — 512 MB, type EFI System
- Root partition — Remainder of disk, type Linux filesystem
Format the partitions:
mkfs.fat -F32 /dev/sdX1
mkfs.ext4 /dev/sdX2
Step 4: Install the Base System
Mount the partitions and use pacstrap to install the base packages:
mount /dev/sdX2 /mnt
pacstrap /mnt base linux linux-firmware vim networkmanager
Step 5: Configure the System
Generate the fstab, chroot into your new system, set locale, hostname, and install a bootloader (GRUB is recommended for beginners):
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
Step 6: Reboot and Enjoy
Set a root password with passwd, exit the chroot, unmount all partitions, and reboot. You now have a minimal Arch Linux system ready to be customized.
What's Next?
From here you can install a desktop environment like GNOME, KDE Plasma, or a tiling window manager like Hyprland. The Arch Wiki is your best friend for every step of the journey.