Installing Portage From Snapshot

Revision as of 08:53, November 18, 2012 by Palica (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This page shows you another way to get the latest Portage tree from within your install chroot.

To use this method, you download a snapshot snapshots from inside the chroot, extract it to the /usr directory, use git to activate the branch, and then run emerge --sync to quickly download the very latest updates to the tree:

(chroot) # cd /usr
(chroot) # wget
(chroot) # tar xf portage-latest.tar.xz 
(chroot) # rm portage-latest.tar.xz
(chroot) # cd /usr/portage
(chroot) # git checkout
(chroot) # emerge --sync

This method uses wget (HTTP) to grab the vast majority of data and could be faster or more reliable for some users.