Portage

From Gentoo Wiki
Jump to: navigation, search
IconInformation.png
This article is a stub. You can help Gentoo Wiki by expanding it.
External resources

sys-apps/portage is Gentoo's package manager, and is installed by default as part of the stage3 install. See the Gentoo Handbook for more details.

Contents

Overlays

In addition to the official repository (colloquially known as "portage tree" because of its traditional placement in /usr/portage/), there are additional repositories which in Gentoo are called overlays.

You can search through the ebuilds available in the overlays on http://overlays.gentoo.org/ by using eix.

emerge

emerge is the command-line interface to the Portage system.

# emerge -atv package

These are the packages that would be merged, in reverse order:

Calculating dependencies... done! [ebuild U ] category/package-3.0-r2 [2.0] USE="enabled -disabled toggled* new% (-unavailable)" MAKE_OPTIONS="-disabled" 777 kB [ebuild UD ] category/package-2.0 [3.0] 777 kB [ebuild R ] category/package-1.0 777 kB [ebuild N ] category/package-0.5 777 kB

Total: 4 packages (1 new, 1 reinstall, 1 upgrade, 1 downgrade), Size of downloads: 3108 kB

Would you like to merge these packages? [Yes/No]

See also

Relevant Gentoo Wiki pages

Official docs

Related sections of the Gentoo Handbook

Other official docs

External resources

Personal tools
Namespaces

Variants
Actions
Gentoo Websites logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Navigation
Toolbox
Categories