diff --git a/pages/linux/eselect-locale.md b/pages/linux/eselect-locale.md new file mode 100644 index 000000000..3269c010f --- /dev/null +++ b/pages/linux/eselect-locale.md @@ -0,0 +1,16 @@ +# eselect locale + +> An `eselect` module for managing the `LANG` environment variable, which sets the system language. +> More information: . + +- 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` diff --git a/pages/linux/eselect-repository.md b/pages/linux/eselect-repository.md new file mode 100644 index 000000000..51a7a210b --- /dev/null +++ b/pages/linux/eselect-repository.md @@ -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: . + +- List all ebuild repositories registered on : + +`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}}` diff --git a/pages/linux/eselect.md b/pages/linux/eselect.md new file mode 100644 index 000000000..ca07e7d1c --- /dev/null +++ b/pages/linux/eselect.md @@ -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: . + +- Display a list of installed modules: + +`eselect` + +- View documentation for a specific module: + +`tldr eselect {{module}}` + +- Display a help message for a specific module: + +`eselect {{module}} help`