From Gentoo Wiki
Jump to: navigation, search
This page is a translated version of the page PORTDIR and the translation is 25% complete.

Other languages:
English • ‎español • ‎français • ‎italiano • ‎polski • ‎русский • ‎日本語 • ‎한국어

The PORTDIR variable was used to point to the main package repository hosted on the system. It has since been deprecated in favor of the location attribute (whose default value is /usr/portage) of the Gentoo repository configuration inside /etc/portage/repos.conf.

The current value of the location attribute can be obtained by using portageq:

user $portageq get_repo_path / gentoo