commands.sh

eselect repository

linux

An `eselect` module for configuring ebuild repositories for Portage. After enabling a repository, you have to run `emerge --sync repo_name` to download ebuilds.

More info →

Examples (7)

List all ebuild repositories registered on <https://repos.gentoo.org>

List enabled repositories

Enable a repository from the list by its name or index from the `list` command

Enable an unregistered repository

eselect repository add name rsync|git|mercurial|svn|... sync_uri

Disable repositories without removing their contents

eselect repository disable repo1 repo2 ...

Disable repositories and remove their contents

eselect repository remove repo1 repo2 ...

Create a local repository and enable it

eselect repository create name path/to/repo
made by @shridhargupta | data from tldr-pages