Home Tutorial How to install Arch Linux: a complete tutorial

How to install Arch Linux: a complete tutorial

An always updated and easy to follow guide.

63

Arch Linux is one of my favorite GNU/Linux distributions. However, it is not as easy to install as Ubuntu and openSUSE. I have installed Arch so many times (since 2011) that I have almost memorized the procedure. I have converted that procedure into an easy to follow tutorial that can help new Arch Linux users.

There are many Ubuntu-like derivatives or Arch that make it easier to get started with Arch, but I will discourage using them. Installing Arch without understanding some of its core components and configurations will cause more problems when something breaks because you don’t know how it’s set-up. So I encourage you to do a manual installation of Arch Linux and understand its internals. I heavily recommend referring to the official Arch Wiki to get in-depth information about each step and process.

I have broken this article into several small pieces to address one topic at a time without intimidating you with a single long page.

  • Mark Hewitt

    Is the line “arch-chroot /mnt/bin/bash” meant to have a space? i.e. “arch-chroot /mnt /bin/bash”

  • Swapnil Bhartiya

    arch-chroot /mnt

    Thanks. Corrected.

  • Mark

    Once chroot-ed, the system does not find nano – says bash: nano: command not found

  • Swapnil Bhartiya

    How did you chroot?

  • Mark

    As you have it on the web page, but with the error (below) corrected, so “arch-chroot /mnt /bin/bash” grateful for any help. thanks,

  • Swapnil Bhartiya

    Try

    arch-chroot /mnt

  • Ken Golden

    Thanks for a great guide!

  • Robert Fairbairn

    The instruction “pacman -S iw wpa_supplicant dialog” fails because I an offline, not having configured a wireless network after booting into the new installation. Wifi-menu won’t run without dialog. Would plug in wired but no port on this computer so any suggestions? Other than rebuild install profile adding dialog and start over?

  • bhartiyarules2017

    Thanks. I have edited the article and added the command to install it before they reboot. However, you can plug in the arch USB, chroot again and install from it. You don’t have to reinstall Arch. If you need help, ping me on Google+ or Twitter and I will assist.

  • ptrkjaneg

    Hi @arnieswap:disqus I followed your GREAT guide and I had only a small problem. systemd network manager service was disabled (or not enabled). Not a big problem (for an almost advanced user), but maybe you can add a line in the guide in order to active it for beginners users. I don’t know if is only a problema occurred on my pc, but it has happend.

  • Adam Jarosz

    “mkpart part-type fs-type start end” === “fs-type invalid token”

  • Swapnil Bhartiya

    That’s just example: replace it with actual values.

  • fintara

    Could you put clickable table of contents, would be helpful 🙂 Thanks for the article!

  • netdesk

    Hi Swapnil! Your article is always a starting point for my Arch installations. Thanks for the great work! I stuffed things together some time ago in a couple of scripts on github, just wanted to let you know about them: https://github.com/netdesk/arch-linux-setup

    Cheers

  • Guy Abeho

    Thank you for the amount of effort you put into this article. After 2 days struggling to get it work, i finally got arch to install thanks to this article