Difference between revisions of "HOWTOs for Portage"

From Sabayon Wiki
Jump to: navigation, search
m (Made this article appear more wiki like)
 
(Undo revision 22291 by Joshua (talk))
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{I18n| [[De:Portage Paketverwalter|de]] [[Portage Package Manager|en]] [[Tr:Portage Package Manager|tr]]}}
+
{{I18n| [[De:Portage Paketverwalter|de]] [[Portage Package Manager|en]]  [[Zh_CN:Portage Package Manager|zh_cn(简体中文)]] [[Tr:Portage Package Manager|tr]]}}
  
 
[http://en.wikipedia.org/wiki/Portage_(software) Portage] is a package management system used by [http://www.gentoo.org Gentoo Linux]. Gentoo is sometimes referred to as a meta-distribution due to the extreme flexibility of Portage, which even makes it operating-system-independent. [http://www.sabayon.org Sabayon Linux] is based on Gentoo, but is a bit different in a few ways. Portage is not the default package manager for Sabayon and should only be used by those that are highly experienced with Gentoo. Sabayon Linux Entropy Server uses Portage to bring you the binary packages, making your life much simpler.
 
[http://en.wikipedia.org/wiki/Portage_(software) Portage] is a package management system used by [http://www.gentoo.org Gentoo Linux]. Gentoo is sometimes referred to as a meta-distribution due to the extreme flexibility of Portage, which even makes it operating-system-independent. [http://www.sabayon.org Sabayon Linux] is based on Gentoo, but is a bit different in a few ways. Portage is not the default package manager for Sabayon and should only be used by those that are highly experienced with Gentoo. Sabayon Linux Entropy Server uses Portage to bring you the binary packages, making your life much simpler.
  
 
This page is to separate Portage HowTo articles from Entropy HowTo articles.  If you have a HowTo article for Portage, please add it here.
 
This page is to separate Portage HowTo articles from Entropy HowTo articles.  If you have a HowTo article for Portage, please add it here.
 
==Warning==
 
  
 
{{Warning| '''The Portage package manager is not the default package manager of Sabayon.  It should only be used by advanced users who understand the Portage system and understand what flags can do to a system. If you insist on using Portage and you FUBAR your Sabayon Linux installation, you are on your own.  This is your big warning, so pay attention to it.'''}}
 
{{Warning| '''The Portage package manager is not the default package manager of Sabayon.  It should only be used by advanced users who understand the Portage system and understand what flags can do to a system. If you insist on using Portage and you FUBAR your Sabayon Linux installation, you are on your own.  This is your big warning, so pay attention to it.'''}}
Line 11: Line 9:
 
=HowTos=
 
=HowTos=
  
==Portage Stuff==
+
==Portage errors, blocks, output problems==
 +
==="USE-flag vdpau" blocks VLC media player===
 +
When upgrading VLC media player with Portage to the latest version, you may find some errors and blocks.
 +
 
 +
The problem is that the portage-output is not pointing you in the right direction.
 +
 
 +
The REAL blocker here, is that the USE-flag "vdpau" is enabled on vlc.
 +
 
 +
Because of that you cannot install <media-video/libav-9.11
 +
 
 +
vdpau is incompatible with libav. Removing vdpau from the USE flags removes the block and vlc will emerge fine.
 +
 
 +
 
 +
 
 +
To solve, or bypass this, edit:
 +
 
 +
'''/etc/portage/package.use/00-sabayon.package.use''',
 +
 
 +
scroll down to the '''media-video/vlc''' entry, and add the '''-vdpau''' USE-flag
 +
 
 +
THEN just emerge the package as you normally would do.
 +
 
 +
 
 +
This is actually a known bug at Gentoo: 
 +
[https://bugs.gentoo.org/show_bug.cgi?id=489922 Bug 489922)]
 +
 
 +
 
 +
===NVidia blocks Chromium===
 +
Users with NVidia-drivers installed, who wants to emerge/upgrade chromium, will notice that the package prevents chromium
 +
 
 +
for being emerged.  This is because the "tcmalloc USE-flag" is enabled on chromium.
 +
 
 +
To solve, or bypass this, edit:
 +
 
 +
'''/etc/portage/package.use/00-sabayon.package.use''',
 +
 
 +
scroll down to the '''www-client/chromium''' entry, and add the '''-tcmalloc''' USE-flag
 +
 
 +
THEN just emerge the package as you normally would do.
 +
 
 +
==systemd ==
 +
*[[HOWTO: systemd]]
 +
 
 +
==Networking|Hardware==
 +
*[[HOWTO: Realtek 8187b Wireless Networking]]
 +
*[[HOWTO: Belkin wireless g usb network adapter F5D7050]]
 +
*[[HOWTO: Install FrostWire]]
 +
*[[Creative XFi titanium driver fix]]
 +
 
 +
==Package Management==
 
*[[HOWTO: Install Packages on Sabayon / The Complete Portage Guide]]
 
*[[HOWTO: Install Packages on Sabayon / The Complete Portage Guide]]
 +
*[[HOWTO: Safely mix Entropy and Portage]]
 +
*[[HOWTO: Switch from Test to Stable Packages]]
 +
*[[HOWTO: Example of Installing 3rd Party Ebuilds]]
 +
 +
==Installation==
 
*[[HOWTO: Upgrade kernel using genkernel]]
 
*[[HOWTO: Upgrade kernel using genkernel]]
 
*[[HOWTO: Unoffical Guide To World Update]]
 
*[[HOWTO: Unoffical Guide To World Update]]
*[[HOWTO: Switch from Test to Stable Packages]]
+
 
 +
==Recovery==
 
*[[HOWTO: Use Sabayon LiveDVD/CD to recover GCC]]
 
*[[HOWTO: Use Sabayon LiveDVD/CD to recover GCC]]
*[[HOWTO: Example of Installing 3rd Party Ebuilds]]
+
 
*[[HOWTO: Safely mix Entropy and Portage]]
+
==Desktops|compiz==
*[[HOWTO: Install Himerge]]
+
 
*[[HOWTO: gtk-engines-kde4]]
 
*[[HOWTO: gtk-engines-kde4]]
 
*[[HOWTO: Install e17]]
 
*[[HOWTO: Install e17]]
*[[HOWTO: Avant Window Navigator (AWN)]]
 
 
*[[HOWTO: Latest Compiz-Fusion]]
 
*[[HOWTO: Latest Compiz-Fusion]]
*[[HOWTO: Install Virtualbox]]
+
 
*[[Setup VMWare-server]]
+
==Graphics==
 +
*[[HOWTO: Avant Window Navigator (AWN)]]
 +
*[[HOWTO: intel 945 Resolution]]
 +
 
 +
==Multimedia==
 
*[[HOWTO: Sipie]]  << Sirius Radio Player
 
*[[HOWTO: Sipie]]  << Sirius Radio Player
 
*[[HOWTO: Setup Mythtv]]
 
*[[HOWTO: Setup Mythtv]]
 
*[[HOWTO: PyKaraoke]]
 
*[[HOWTO: PyKaraoke]]
*[[HOWTO: Install FrostWire]]
+
 
*[[Creative XFi titanium driver fix]]
+
==Virtual Machines|Server==
*[[HOWTO: Realtek 8187b Wireless Networking]]
+
*[[HOWTO:_Install_VirtualBox]]
*[[HOWTO: Belkin wireless g usb network adapter F5D7050]]
+
*[[Setup VMWare-server]]
*[[HOWTO: intel 945 Resolution]]
+
 
 +
==Other==
 
*[[HOWTO: Installing Bibus in Sabayon Linux - Also how to install sqliteodbc v7.0 ]]
 
*[[HOWTO: Installing Bibus in Sabayon Linux - Also how to install sqliteodbc v7.0 ]]

Latest revision as of 09:17, 24 October 2014

i18n: de en zh_cn(简体中文) tr

Portage is a package management system used by Gentoo Linux. Gentoo is sometimes referred to as a meta-distribution due to the extreme flexibility of Portage, which even makes it operating-system-independent. Sabayon Linux is based on Gentoo, but is a bit different in a few ways. Portage is not the default package manager for Sabayon and should only be used by those that are highly experienced with Gentoo. Sabayon Linux Entropy Server uses Portage to bring you the binary packages, making your life much simpler.

This page is to separate Portage HowTo articles from Entropy HowTo articles. If you have a HowTo article for Portage, please add it here.

Stop.png
The Portage package manager is not the default package manager of Sabayon. It should only be used by advanced users who understand the Portage system and understand what flags can do to a system. If you insist on using Portage and you FUBAR your Sabayon Linux installation, you are on your own. This is your big warning, so pay attention to it.

HowTos

Portage errors, blocks, output problems

"USE-flag vdpau" blocks VLC media player

When upgrading VLC media player with Portage to the latest version, you may find some errors and blocks.

The problem is that the portage-output is not pointing you in the right direction.

The REAL blocker here, is that the USE-flag "vdpau" is enabled on vlc.

Because of that you cannot install <media-video/libav-9.11

vdpau is incompatible with libav. Removing vdpau from the USE flags removes the block and vlc will emerge fine.


To solve, or bypass this, edit:

/etc/portage/package.use/00-sabayon.package.use,

scroll down to the media-video/vlc entry, and add the -vdpau USE-flag

THEN just emerge the package as you normally would do.


This is actually a known bug at Gentoo: Bug 489922)


NVidia blocks Chromium

Users with NVidia-drivers installed, who wants to emerge/upgrade chromium, will notice that the package prevents chromium

for being emerged. This is because the "tcmalloc USE-flag" is enabled on chromium.

To solve, or bypass this, edit:

/etc/portage/package.use/00-sabayon.package.use,

scroll down to the www-client/chromium entry, and add the -tcmalloc USE-flag

THEN just emerge the package as you normally would do.

systemd

Networking|Hardware

Package Management

Installation

Recovery

Desktops|compiz

Graphics

Multimedia

Virtual Machines|Server

Other