Eselect/Repository

is Article description::an module for manipulating  entries.

This utility supersedes layman for listing, configuring, and handling synchronization of alternate repositories except for version control systems which the package manager does not natively sync (eg. mercurial, bazaar, and g-sorcery in Portage).

Initial setup
The file or directory as configured by the   variable in, must exist before the module will function properly.

Gentoo Handbook prefers to have it as a directory:

Usage
Gentoo allows users and developers to register their repositories for public consumption. will fetch and read the known list.

Listing registered repositories

 * Installed, enabled repositories are suffixed with a * character.
 * Repositories suffixed with #, need their sync information updated (via disable/enable) or were customized by the user.
 * Repositories suffixed with @ are not listed by name in the official, published list.
 * Adding the  optional parameter will only list installed repositories

Add registered repositories
Syntax: enable ( | )...

Add unregistered repositories
Syntax: add  

Disable repositories without removing contents
Syntax: disable [-f] ( | )...

The  option is required for unregistered repositories and those without sync attributes

Disable repositories and remove contents
Syntax: remove [-f] ( | )...

The  option is required for unregistered repositories and those without sync attributes

Sync added repository
Repositories can be synced using Portage's emaint.