Skip to content

This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!


eselect

eselect is a tool for administration and configuration on Gentoo systems. It will modify the system’s behavior and should be used with care by the system administrator. eselect is a modular framework for writing configuration utilities. It consists of:

  • A main program called eselect.
  • Various modules (*.eselect files) which carry out different tasks.
  • Several libraries which help ensure consistent behavior and simplify the creation of new modules.

A module provides several actions. Actions typically either display some information ("list" and "show" actions are common) or update the system somehow (for example, "set" and "update"). Each module also provides "help" and "usage" actions which explain how to use the module.

Reference(s)

Table of contents


Install

eselect should be already installed by default on Gentoo:

# emerge -na app-admin/eselect


Use

See how to use eslect:

$ eselect help

modules

List all the available eselect modules already installed on your system:

$ eselect modules list

Tip

$ emerge -s eselect to see more available eselect modules.

repositories

See overlays

kernel

$ eselect kernel list
$ eselect kernel set 42

news

$ eselect news list
$ eselect news read

sh

$ eselect sh list

python

$ eselect python list

pip

$ eselect pip list

If this cheat sheet has been useful to you, then please consider leaving a star here.