This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
/usr/portage
From Gentoo Wiki (test)
/usr/portage is the default location value in the /usr/share/portage/config/repos.conf file for the main ebuild repository on Gentoo-based systems. Alternative location values can be detected by running the portageq utility:
user $
portageq get_repo_path / gentoo
/usr/portage
For more information see /etc/portage/repos.conf/gentoo.conf.
This article can be used as a quick reference for commonly used files and directories in the Portage directory:
Tree
/usr/portage
├── distfiles
├── licenses
├── metadata
├── packages
├── profiles
├── license_groups
├── package.mask