Difference between revisions of "Installing Portage From Snapshot"

 
 
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  

Latest revision as of 15:14, 31 December 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:

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

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