[arch-general] Can I build Arch Linux from Scratch?

Paul Gideon Dann pdgiddie at gmail.com
Thu Aug 9 07:53:14 UTC 2018

On 8 August 2018 at 02:33, Turritopsis Dohrnii Teo En Ming <
turritopsis.dohrnii at teo-en-ming.com> wrote:

> Good morning from Singapore,
> Can I build Arch Linux from Scratch like Linux from Scratch?

It's certainly possible to build all of ArchLinux's packages from source
using the ABS. My approach would be to start on any Linux distribution by
building Pacman, which will provide the makepkg script to allow you to
start building Arch packages from source using PKGBUILD files. You'd want
to start with the packages in the "base" group, followed by base-devel. You
should be able to use Pacman to install each package file into a chroot, at
which point your Arch system will be bootstrapped.

But that's a lot of work. It's an interesting project, but I'm not sure
there's much to be gained, practically, by building Arch like this as
opposed to installing the pre-built packages.


More information about the arch-general mailing list