En:HOWTO: 3.5 Pod adding portage

From Sabayon Wiki
Jump to: navigation, search
i18n: ca en es fr
The following content is outdated! Please be careful when using it!


First, it is entirely possible to happily run Sabayon 3.5 Pod (the 700 meg mini edition) without any of the following steps. If you have no interest in compiling your own applications or maintaining 100% Gentoo compatability then you are already good to go. Sabayon 3.5 as stands is a complete operating system and will work fine in binary (no compiling) mode. However if you truly need Gentoo compatability or the ability to bring packages in from the other various Gentoo overlays then the following steps should position you to do so.

We will start with one single assumption, that you have actually already finished installing Pod. It is from that point, actually rebooting into the system and functioning from the install that we will proceed.

Adding portage support to Sabayon 3.5 Pod

Before starting on this, you're going to want to download the portage database appropriate for your architecture. Please point your browser to: http://www.sabayonlnux.org/mod/mirrors/ Choose a mirror.

If you are using the 32 bit Sabayon Pod, you will download the following file: Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2

If you are using the 64 bit Sabayon Pod, you will download this file: Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2

Once you have downloaded the appropriate portage database file, you will do the following commands:

su                                                                                                                      (Please make sure to enter the root password when asked)
cd /var/db/pkg/
mv  /home/user/Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2 .        (For 64 bit, the filename will beSabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2 ) 
tar xjvf Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2

***NOTE*** Please try your best to copy and paste, or you may miss a vital but easy to miss dot which is part of a command. 

Now we are really ready to begin. From here on out we will be working ONLY in command line and as root. Yes some of this can be done with GUI applications, but trust me when I say it's faster and easier using command line. We will start with a little preparation work.

equo update
equo install entropy
equo world

This will bring your system 100% up to current. So now we can get into the meat of the matter of bringing your system up to Gentoo compatability. As one command we can install all the packages we need. You may want to install gcc separately if you end up with errors regarding gcc. This may be attributed to needing to add the version number.

equo install portage layman libtool gettext linux-sabayon glibc linux-headers subversion gentoolkit
equo install sys-devel/gcc

Add the following USE flags to /etc/make.conf

 jpeg ldap spell fam vorbis gstreamer encode mpeg truetype mad xml mikmod xv device-mapper

Depending on your connection speed and the strength of your CPU this can take some time to accomplish. Once this is done we need to issue an few more time consuming commands.

emerge --sync
layman -S
echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf
gcc-config -l                       (After this, you will re-run gcc-config and choose the appropriate version)
source /etc/profile
eselect env update

After all that is done ... congrats, your all finished. Everything should be working for you now.


  • Lythandrel: for proofreading and suggesting grammatical and syntax corrections
  • Rand_A: for the start of the list of missing packages
  • Wolfden: for more on the list of missing packages
  • irc.freenode.net #Sabayon for moral support during the fresh install and long testing/trial period while putting this together
  • lxnay: for putting out the best Linux distro to be had
  • kakashi: for his patience in helping find what was missing.

Have fun and good computing