Gentoo: Difference between revisions

From DWIKI
mNo edit summary
Line 30: Line 30:
[[Category: System Administration]]
[[Category: System Administration]]


=FAQ=


==mirror status==
= FAQ =
  https://mirrorstats.gentoo.org/
 
==rebuild package==  
== mirror status ==
 
  [https://mirrorstats.gentoo.org/ https://mirrorstats.gentoo.org/]
 
== rebuild package ==
 
  emerge -vauD package
  emerge -vauD package


==which use flags are available for a package?==
== which use flags are available for a package? ==
 
  equery u package
  equery u package


==Profiles==
== Profiles ==
https://wiki.gentoo.org/wiki/Profile_(Portage)
 
[https://wiki.gentoo.org/wiki/Profile_(Portage) https://wiki.gentoo.org/wiki/Profile_(Portage)]
 
=== Show available profiles ===


===Show available profiles===
  eselect profile list
  eselect profile list


==See how emerge is doing==
== See how emerge is doing ==
 
  tail -f /var/log/emerge.log
  tail -f /var/log/emerge.log


==Debugging software==
== Debugging software ==
*http://www.gentoo.org/proj/en/qa/backtraces.xml
 
*[http://www.gentoo.org/proj/en/qa/backtraces.xml http://www.gentoo.org/proj/en/qa/backtraces.xml]
 
== using eselect ==
 
[http://www.gentoo.org/doc/en/gentoo-upgrading.xml http://www.gentoo.org/doc/en/gentoo-upgrading.xml]


==using eselect==
 
http://www.gentoo.org/doc/en/gentoo-upgrading.xml


== Reason: Filesize does not match recorded size ==


==Reason: Filesize does not match recorded size==
  ebuild foo.ebuild digest
  ebuild foo.ebuild digest


==slots==
== slots ==
*[http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1#doc_chap4 About slots]
 
*http://devmanual.gentoo.org/general-concepts/slotting/index.html
*[http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1#doc_chap4 About slots]  
*[http://devmanual.gentoo.org/general-concepts/slotting/index.html http://devmanual.gentoo.org/general-concepts/slotting/index.html]


If there's multiple slots, and one of them is called '3', emerge using
If there's multiple slots, and one of them is called '3', emerge using
  emerge foo:3
  emerge foo:3


 
== IMPORTANT: 10 config files in '/etc/portage' need updating." ==


==IMPORTANT: 10 config files in '/etc/portage' need updating."==
  etc-update?
  etc-update?


 
== existing preserved libs ==
See [https://wiki.gentoo.org/wiki/Preserve-libs https://wiki.gentoo.org/wiki/Preserve-libs]


==existing preserved libs==
== rebuild a package ==
See https://wiki.gentoo.org/wiki/Preserve-libs
emerge -a packagename

Revision as of 13:22, 8 September 2020

Links

Documentation

Gentoo tools

Find out what ebuild will provide a file

What ebuild does a file belong to?

equery belongs

http://www.coyotegulch.com/products/acovea/

Docs

Tips

emerge -uvDNp world

ATI OpenGL on Gentoo


FAQ

mirror status

https://mirrorstats.gentoo.org/

rebuild package

emerge -vauD package

which use flags are available for a package?

equery u package

Profiles

https://wiki.gentoo.org/wiki/Profile_(Portage)

Show available profiles

eselect profile list

See how emerge is doing

tail -f /var/log/emerge.log

Debugging software

using eselect

http://www.gentoo.org/doc/en/gentoo-upgrading.xml

 

Reason: Filesize does not match recorded size

ebuild foo.ebuild digest

slots

If there's multiple slots, and one of them is called '3', emerge using

emerge foo:3

 

IMPORTANT: 10 config files in '/etc/portage' need updating."

etc-update?

 

existing preserved libs

See https://wiki.gentoo.org/wiki/Preserve-libs

rebuild a package

emerge -a packagename