💾 Archived View for freeshell.de › tldr › update-alternatives.gmi captured on 2024-02-05 at 12:12:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

update-alternatives

A convenient tool for maintaining symbolic links to determine default commands.

More information.

sudo update-alternatives --install {path/to/symlink} {command_name} {path/to/command_binary} {priority}
sudo update-alternatives --config {java}
sudo update-alternatives --remove {java} {/opt/java/jdk1.8.0_102/bin/java}
update-alternatives --display {java}
update-alternatives --get-selections
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY