Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eselect, eselect-{repository,locale}: add page #13228

Merged
merged 3 commits into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions pages/linux/eselect-locale.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# eselect locale

> An `eselect` module for managing the `LANG` environment variable, which sets the system language.
> More information: <https://wiki.gentoo.org/wiki/Eselect#Locale>.

- List available locales:

`eselect locale list`

- Set the `LANG` environment variable in `/etc/profile.env` by name or index from the `list` command:

`eselect locale set {{name|index}}`

- Display the value of `LANG` in `/etc/profile.env`:

`eselect locale show`
33 changes: 33 additions & 0 deletions pages/linux/eselect-repository.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# eselect repository

> 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 information: <https://wiki.gentoo.org/wiki/Eselect/Repository>.

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

`eselect repository list`

- List enabled repositories:

`eselect repository list -i`

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

`eselect repository enable {{name|index}}`

- 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}}`
17 changes: 17 additions & 0 deletions pages/linux/eselect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# eselect

> Gentoo's multi-purpose configuration and management tool.
> It consists of various modules that take care of individual administrative tasks.
> More information: <https://wiki.gentoo.org/wiki/Eselect>.

- Display a list of installed modules:

`eselect`

- View documentation for a specific module:
spageektti marked this conversation as resolved.
Show resolved Hide resolved

`tldr eselect {{module}}`

- Display a help message for a specific module:

`eselect {{module}} help`