eselect
命令用于配置有多种选择性的一些配置。
eselect
命令的详细使用方法通过man eselect
进行查看。
eselect [--brief | --color=yes|no|auto] <module> <action>
common action | 作用 |
---|---|
help | 查看此moudle 的使用帮助 |
usage | 查看此moudle 的使用帮助 |
version | 查看此moudle 的版本 |
list | 列出此moudle 的可选项 |
show | 打印出此moudle 的当前选择的值 |
set index | value | 设置此moudle 的值,可以是list 列出的索引,也可以是索引对应的值 |
module | 作用 |
---|---|
help | 查看eselect 命令的使用帮助 |
usage | 查看eselect 命令的使用方式,比较简短 |
version | 查看eselect 命令的版本 |
modules | eselect modules list eselect modules has rc |
binutils | 选择使用哪种常用的命令实现:GNU BinUtils、BusyBox |
gcc | 选择使用哪个版本的GCC |
python | 选择使用哪个版本的CPython |
locale | 设置LANG 环境变量 |
pager | 设置PAGER 环境变量 |
editor | 设置EDITOR 环境变量 |
visual | 设置VISUAL 环境变量 |
vi | 选择/usr/bin/vi 的实现者:Vim、BusyBox vi |
pinentry | 选择/usr/bin/pinentry 的实现者:pinentry-xxx 、pinentry-tty |
kernel | 设置/usr/src/linux 软连接的指向,从而控制使用哪个版本的Linux kernel |
profile | 设置/etc/portage/make.profile 软连接的指向,从而控制使用哪个profile |
rc | OpenRC 相关控制命令 |
news | 查看、删除news 等操作 |