I wanna try Portage

Anything that pertains to Portage

Moderator: Moderators

I wanna try Portage

Postby spanishbizarro » Sat Jan 12, 2013 3:24

I'm thinking of starting a new installation and to only use portage. What would you recommend me (besides of reading the portage guide)? Should I better install gentoo?
spanishbizarro
Baby Hen
 
Posts: 3
Joined: Fri Aug 24, 2012 18:43

Re: I wanna try Portage

Postby throdon » Sat Jan 12, 2013 3:33

I suggest that you start with the most minimalist Sabayon ISO you can handle.

I also suggest you have the Gentoo handbook and perhaps Linux sea http://swift.siphos.be/linux_sea/ Bookmarked and Read the DAMN things, they are there for a reason and people put a lot of hard work into it.

If and when you start monitoring the Gentoo forums make sure you let them know you are using Sabayon and post in the unsupported software threads. I used a Sabayon live DVD to install gentoo once and they thought it was a Sabayon support question. Be clear in what you post over there.
Troll hunter with an overzealous nature
User avatar
throdon
Advanced Hen
 
Posts: 222
Joined: Mon Aug 20, 2007 13:06
Location: Central valley, California

Re: I wanna try Portage

Postby albfneto » Sat Jan 12, 2013 16:46

Is it possible to use only Portage in Sabayon, but not easy or raccomended.

At first, you SHOULD edit the file /etc/entropy/client.conf and in the line that have pseudodowngrades you substitute disable by enable.

If you dont make this,the Entropy will be downgrade the packages, instead of upgrades.

also, read and learn from the net and here, in the Sabayon Forum, wow to edit /etc/make.conf. Without editing make.conf, Portage itself is not advantageous.

Even when you not use it, does not remove Entropy.

You may try other Distros, that are Gentoo like,but not use Entropy, only Portage.You may try using tthe German Linux Toorox, ou the Russian Distro Calculate. They are easy to install Gentoos.
Image
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mandriva and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1304
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: I wanna try Portage

Postby wintux » Wed Feb 27, 2013 0:16

Hi,
I'm thinking about safely mixing Entropy and Portage, because of different reasons:

1. When installing Firefox and Tb a plenty of language packs have been installed, too. The versions are already outdated. For these programs I always want the most actual (stable) version as soon as they are released.
2. I need a program that's not in the repos for Entropy but in an overlay for portage which is among those I can see with:
Code: Select all
# layman -L

3. I need to re-configurere gcc with options "--enable-languages=c,c++,go" and "--with-arch-32=i586" and re-compile+re-install it. Only then I can use the gccgo compiler.
4. Later I would like to re-compile KDE with the "-march=amd64" option.

When reading HOWTO:_Safely_mix_Entropy_and_Portage I asked myself: Is gcc a 'system package'? Linux runs without it and Entropy doesn't use it, I would suppose... Do you think/know that building gcc with Portage will be problematic, even when following the rules from the HOWTO?

Additional Problem:
Code: Select all
# layman -l
doesn't show the overlay 'sabayon' as active. Would
Code: Select all
# layman -a sabayon
be the right solution for that?
wintux
Baby Hen
 
Posts: 18
Joined: Mon Feb 18, 2013 22:16

Re: I wanna try Portage

Postby wolfden » Wed Feb 27, 2013 5:25

User avatar
wolfden
Sharecropper
 
Posts: 8824
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: I wanna try Portage

Postby wintux » Thu Feb 28, 2013 12:34

@wolfden
Thanks for the link.
I also read the thead Looking for a good 3D chess [Solved] and think you meant that I should install both overlays: sabayon and sabayon.distro .

Please help me to understand the technical principle that's behind:
Portage overlays are custom Portage trees that contain packages not found in, or different from the packages in, the main Portage tree.
that's quoted from HOWTO:_Install_Packages_on_Sabayon_/_The_Complete_Portage_Guide.
..., make sure you have "sabayon" in your overlays
that's from HOWTO:_Safely_mix_Entropy_and_Portage. "sabayon.distro", too, if I understood you well.

Assuming that I want to install software, let's say DreamChess which has an ebuild in the Portage Sunrise overlay. WHY is it so important then, that the overlays "sabayon" and "sabayon.distro" are also installed?
wintux
Baby Hen
 
Posts: 18
Joined: Mon Feb 18, 2013 22:16

Re: I wanna try Portage

Postby wolfden » Thu Feb 28, 2013 13:49

You don't have to have any overlay, you can add and drop overlays as you need to. It all depends on what you want or need.

Find out more here:
http://www.gentoo.org/proj/en/overlays/userguide.xml
User avatar
wolfden
Sharecropper
 
Posts: 8824
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: I wanna try Portage

Postby batvink » Fri Mar 01, 2013 17:42

When decided to move to Portage only, maybe it's better to leave "sabayon-distro overlay" alone for now.
Later you can decide whether to add that overlay or not.
FIRST of all take a good notice on how Portage works, and how to use it.
Gentoo and Sabayon Wiki is your friend here,
but with a little searching, the Web is full of sources to help you with that. Even Youtube provides tutorials on how to use Portage.
Listen very carefully at the messages Portage gives you., Most commonly made mistake is that people DON'T read Portage messages., and since we're using the unstable/alpha Portage tree, do not ever, update Portage when it tells you there is a update available., 'cause then you actually downgrading.
If, when updating with Portage a new "sys-apps/portage" is marked for upgrade, be sure to check if it's a alpha release.

Indeed you should start with the most minimalistic Sabayon ISO you can handle.
Spinbase, or CoreCDX for example.
After installation, first thing is to make Sabayon ready for Portage.
Edit your "make.conf"
a example for a portage only make.conf can be found here:
http://pastebin.sabayon.org/pastie/12119
*note*
Under section "## PORTAGE CONFIG ##",
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save"
are set. This feature will create warning/error messages for each package, but you first have to create:
Code: Select all
mkdir /var/log/portage/elog


When done installing and configuring, you might as well want to recompile your system:
either with:
Code: Select all
emerge -aveND @world --keep-going

or using following guide:
http://wiki.sabayon.org/index.php?title=HOWTO:_Unoffical_Guide_To_World_Update
* Use both at own risk...
Latest (important) news about sabayon?
Watch Rigo's notice board, or surf to:
https://wiki.sabayon.org/index.php?title=Wiki_News
User avatar
batvink
Technological Hen
 
Posts: 405
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 3 guests