Difference between revisions of "Installing Portage From Snapshot"

From Funtoo
Jump to navigation Jump to search
 
Line 3: Line 3:
To use this method, you download a snapshot {{FuntooMirror|snapshots=1}} from inside the chroot, extract it to the '''/usr''' directory, use <tt>git</tt> to activate the <tt>funtoo.org</tt> branch, and then run <tt>emerge --sync</tt> to quickly download the very latest updates to the tree:
To use this method, you download a snapshot {{FuntooMirror|snapshots=1}} from inside the chroot, extract it to the '''/usr''' directory, use <tt>git</tt> to activate the <tt>funtoo.org</tt> branch, and then run <tt>emerge --sync</tt> to quickly download the very latest updates to the tree:


<pre>
<console>
(chroot) # cd /usr
# ##i##cd /usr
(chroot) # wget http://ftp.osuosl.org/pub/funtoo/funtoo-current/snapshots/portage-latest.tar.xz
# ##i##wget http://ftp.osuosl.org/pub/funtoo/funtoo-current/snapshots/portage-latest.tar.xz
(chroot) # tar xf portage-latest.tar.xz  
# ##i##tar xf portage-latest.tar.xz  
(chroot) # rm portage-latest.tar.xz
# ##i##rm portage-latest.tar.xz
(chroot) # cd /usr/portage
# ##i##cd /usr/portage
(chroot) # git checkout funtoo.org
# ##i##git checkout funtoo.org
(chroot) # emerge --sync
# ##i##emerge --sync
</pre>
</console>


This method uses <tt>wget</tt> (HTTP) to grab the vast majority of data and could be faster  
This method uses <tt>wget</tt> (HTTP) to grab the vast majority of data and could be faster  

Revision as of 15:14, December 31, 2013

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 funtoo.org branch, and then run emerge --sync to quickly download the very latest updates to the tree:

root # cd /usr
root # wget http://ftp.osuosl.org/pub/funtoo/funtoo-current/snapshots/portage-latest.tar.xz
root # tar xf portage-latest.tar.xz 
root # rm portage-latest.tar.xz
root # cd /usr/portage
root # git checkout funtoo.org
root # emerge --sync

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