[arch-general] Can I build Arch Linux from Scratch?
Good morning from Singapore, Can I build Arch Linux from Scratch like Linux from Scratch? Please advise. Thank you. ===BEGIN SIGNATURE=== Turritopsis Dohrnii Teo En Ming's Academic Qualifications as at 30 Oct 2017 [1] https://tdtemcerts.wordpress.com/ <https://tdtemcerts.wordpress.com/>[2] http://tdtemcerts.blogspot.sg/ <http://tdtemcerts.blogspot.sg/>[3] https://www.scribd.com/user/270125049/Teo-En-Ming <https://www.scribd.com/user/270125049/Teo-En-Ming>===END SIGNATURE===
On Wed, 8 Aug 2018 01:33:20 +0000, wrote:
Can I build Arch Linux from Scratch like Linux from Scratch?
Please advise.
Hi, you are probably the only one to know, if you could or could not achieve the same regarding your needs by either using LFS or Arch Linux. At the right side of the homepage is the link to the Wiki (https://wiki.archlinux.org/ maybe start with the Arch Wiki's FAQ https://wiki.archlinux.org/index.php/Frequently_asked_questions , the FAQ provide a lot of links. For example a link to https://wiki.archlinux.org/index.php/Arch_compared_to_other_distributions that links to https://wiki.archlinux.org/index.php/Arch_Build_System) and the right side of the homepage also contains a link to the Installation Guide(https://wiki.archlinux.org/index.php/Installation_guide) wich also links to the FAQ. Regards, Ralf
On 8 August 2018 at 02:33, Turritopsis Dohrnii Teo En Ming < turritopsis.dohrnii@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. Paul
Am 09.08.2018 um 09:53 schrieb Paul Gideon Dann via arch-general:
On 8 August 2018 at 02:33, Turritopsis Dohrnii Teo En Ming < turritopsis.dohrnii@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.
Paul
There are a few dependency cycles that may have to be build in stages with bootstrap packages. First build package "one" without dependency on "two", then build "two" with dependency on "one", then rebuild "one", this time with dependency on "two". Maybe rebuild "two" as well. These bootstrap PKGBUILDs do not exist in the archlinux sources, so you have to create them on your own. Andreas
participants (4)
-
Paul Gideon Dann
-
ProgAndy
-
Ralf Mardorf
-
Turritopsis Dohrnii Teo En Ming