This is an old revision of the document!


Portage

Portage is the package manager of Gentoo.

Save an installed package

To save your package as it is installed :

quickpkg xorg-x11

To restore it (obliges emerge to use local binaries) :

emerge -K xorg-x11

Updating config files

After an emerge, there is often a warning telling you that some config files need to be updated. The tool called etc-update can help you to do this, by merging automatically what it can and asking your for the rest :

sudo etc-update

Clean your portage folder

If you do anything about it, your portage folder will grow along time. This is due to the distfiles folder, where are stored all source tarballs of packages you have installed.

There is a portage tool called eclean which can remove all useless tarballs while keeping interesting ones :

eclean --destructive

List of gentoo packages

linux/gentoo-portage.1166149180.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