Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:gentoo-portage [2008/04/09 05:09]
127.0.0.1 external edit
linux:gentoo-portage [2013/09/19 16:40] (current)
Line 226: Line 226:
 </code> </code>
  
 +In order to use the main gentoo tree in priority over overlays, create the file /etc/portage/repos.conf with:
 +<code>
 +[gentoo]
 +priority = 1000
 +</code>
  
 +You can also refer to overlays in the /etc/package.* files with the syntax:
 +<code>
 +category/package-version:slot::overlay
 +category/package-version::overlay
 +</code>
 ===== Save an installed package ===== ===== Save an installed package =====
  
Line 298: Line 308:
  
 As ram is not used if the mounted ram is not used, there is no risk to always mount a great amount of memory. Even if it uses swap, it will prevent emerge from failing and won't be slower than not using mounted ram. Then you should mount the maximum of memory so that ram+swap will be enough for the normally used memory, and the mounted memory. As ram is not used if the mounted ram is not used, there is no risk to always mount a great amount of memory. Even if it uses swap, it will prevent emerge from failing and won't be slower than not using mounted ram. Then you should mount the maximum of memory so that ram+swap will be enough for the normally used memory, and the mounted memory.
 +
 +===== Niceness =====
 +
 +''PORTAGE_NICENESS="15"''
  
 ===== List of gentoo packages ===== ===== List of gentoo packages =====
Line 307: Line 321:
 Use flags : [[http://www.gentoo.org/dyn/use-index.xml]] Use flags : [[http://www.gentoo.org/dyn/use-index.xml]]
  
-===== eix =====+===== Tools ===== 
 +==== eix ==== 
  
 ''eix'' is a portage tool which can search faster in your portage tree, and show you all versions available with their masks and all versions already installed : ''eix'' is a portage tool which can search faster in your portage tree, and show you all versions available with their masks and all versions already installed :
 <code bash> <code bash>
 eix-sync # to do an emerge --sync and synchronize its database eix-sync # to do an emerge --sync and synchronize its database
-eix <package-name>+eix <text|regexp> ; search text in package titles, ex ^gcc$ 
 +eix -S <text|regexp; search in package descriptions
 </code> </code>
  
 Versions stable are in red, unstable are in yellow masked by ''(~)'', software masked in red with ''(m)'' (you masked it), hard masked in red with ''(M)'' (don't try to install them). Versions stable are in red, unstable are in yellow masked by ''(~)'', software masked in red with ''(m)'' (you masked it), hard masked in red with ''(M)'' (don't try to install them).
 +
 +==== equery ====
 +
 +To find the package that a file came from.
 +
 +<code bash>
 +equery belongs <filename>
 +</code>
 +
 +==== genlop ====
 +
 +To parse portage logs and get some stats.
 +
 +<code bash>
 +genlop <package-name> ; lists dates and version of every install of the package
 +genlop -t <package-name> ; also prints merge time of every install of the package
 +genlop -c ; information about current merge
 +</code>
linux/gentoo-portage.1207717786.txt.gz · Last modified: 2013/09/19 16:42 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0