最終更新:2022-02-15 (火) 11:35:12 (798d)  

update-alternatives
Top / update-alternatives

http://linux.die.net/man/8/update-alternatives

Ubuntu/パッケージ

コマンド

help

  • Usage: update-alternatives [<option> ...] <command>
    
    Commands:
      --install <link> <name> <path> <priority>
        [--slave <link> <name> <path>] ...
                               add a group of alternatives to the system.
      --remove <name> <path>   remove <path> from the <name> group alternative.
      --remove-all <name>      remove <name> group from the alternatives system.
      --auto <name>            switch the master link <name> to automatic mode.
      --display <name>         display information about the <name> group.
      --query <name>           machine parseable version of --display <name>.
      --list <name>            display all targets of the <name> group.
      --get-selections         list master alternative names and their status.
      --set-selections         read alternative status from standard input.
      --config <name>          show alternatives for the <name> group and ask the
                               user to select which one to use.
      --set <name> <path>      set <path> as alternative for <name>.
      --all                    call --config on all alternatives.
    
    <link> is the symlink pointing to /etc/alternatives/<name>.
      (e.g. /usr/bin/pager)
    <name> is the master name for this link group.
      (e.g. pager)
    <path> is the location of one of the alternative target files.
      (e.g. /usr/bin/less)
    <priority> is an integer; options with higher numbers have higher priority in
      automatic mode.
    
    Options:
      --altdir <directory>     change the alternatives directory.
      --admindir <directory>   change the administrative directory.
      --log <file>             change the log file.
      --force                  allow replacing files with alternative links.
      --skip-auto              skip prompt for alternatives correctly configured
                               in automatic mode (relevant for --config only)
      --verbose                verbose operation, more output.
      --quiet                  quiet operation, minimal output.
      --help                   show this help message.
      --version                show the version.
    

値の一覧

  •  update-alternatives --list x-terminal-emulator
    /usr/bin/gnome-terminal.wrapper
    /usr/bin/koi8rxterm
    /usr/bin/lxterm
    /usr/bin/uxterm
    /usr/bin/xterm

一覧

表示

リスト

  • update-alternatives --config animate?
  • update-alternatives --config awk?
  • update-alternatives --config builtins.7.gz?
  • update-alternatives --config c++?
  • update-alternatives --config c89?
  • update-alternatives --config c99?
  • update-alternatives --config cc?
  • update-alternatives --config compare?
  • update-alternatives --config composite?
  • update-alternatives --config conjure?
  • update-alternatives --config convert?
  • update-alternatives --config cpp?
  • update-alternatives --config default.plymouth?
  • update-alternatives --config display?
  • update-alternatives --config editor
  • update-alternatives --config ex?
  • update-alternatives --config fakeroot?
  • update-alternatives --config fonts-japanese-gothic.ttf?
  • update-alternatives --config from?
  • update-alternatives --config ftp?
  • update-alternatives --config ghostscript-current?
  • update-alternatives --config gnome-text-editor?
  • update-alternatives --config gnome-www-browser?
  • update-alternatives --config gstreamer-codec-install?
  • update-alternatives --config identify?
  • update-alternatives --config import?
  • update-alternatives --config infobrowser?
  • update-alternatives --config ksh?
  • update-alternatives --config libtxc-dxtn-x86_64-linux-gnu?
  • update-alternatives --config locate?
  • update-alternatives --config lzma?
  • update-alternatives --config mogrify?
  • update-alternatives --config montage?
  • update-alternatives --config mt?
  • update-alternatives --config nc?
  • update-alternatives --config newt-palette?
  • update-alternatives --config pager
  • update-alternatives --config pico?
  • update-alternatives --config pinentry?
  • update-alternatives --config pinentry-x11?
  • update-alternatives --config rcp?
  • update-alternatives --config rename?
  • update-alternatives --config rlogin?
  • update-alternatives --config rmt?
  • update-alternatives --config rsh?
  • update-alternatives --config rview?
  • update-alternatives --config stream?
  • update-alternatives --config telnet?
  • update-alternatives --config text.plymouth?
  • update-alternatives --config traceroute6?
  • update-alternatives --config vi?
  • update-alternatives --config view?
  • update-alternatives --config vtrgb?
  • update-alternatives --config w?
  • update-alternatives --config write?
  • update-alternatives --config x86_64-linux-gnu_egl_conf?
  • update-alternatives --config x86_64-linux-gnu_gl_conf?
  • update-alternatives --config x-cursor-theme?
  • update-alternatives --config x-session-manager?
  • update-alternatives --config x-terminal-emulator
  • update-alternatives --config x-window-manager?
  • update-alternatives --config x-www-browser

Java

sudo update-alternatives --config java

関連