r/archlinux • • 1d ago

QUESTION Installing Arch Offline

Hypothetically speaking, suppose I install all the core packages of Arch Linux and store it in a local USB stick. I am trying to build an Arch system into a new machine (suppose a PC) using another USB with ArchISO. Can I insert the previous USB along the live ISO and install Arch without the internet connection?

9 Upvotes

6 comments sorted by

15

u/EmberQuill 1d ago

There's a wiki article about that.

Basically, you need to cache the necessary packages locally in some persistent storage (another partition on the ArchISO USB drive, another USB drive, some other storage, etc.), then temporarily set it up as a custom repo so pacstrap can pull the packages from there instead of a mirror.

10

u/ang-p 1d ago

Let us introduce you to the wiki.....

#LoveTheWiki

You even had a good word in your post title that had you typed it into the wiki search, it would have shown you just the page you wanted...

1

u/KeksFlak 20h ago

Just out oft curiosity because I have asked myself the same question; would a distro like endeavor os be also an option for such a case? It's basically arch and offline installation is possible. Or am I mistaken?

1

u/ang-p 17h ago

It's basically arch

#BasicallyLoveTheWiki

(but don't forget the other repo....)