mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
1.4 KiB
1.4 KiB
update-alternatives
TODO
Intro
TL;DR
Do not install custom alternatives for
python3on SUSE systems.
/usr/bin/python3does not have update alternatives there due to system tools dependencies and always points to specific tested versions. Creating custompython3alternatives pointing to different versions — i.e.,python3.11— will break dependent system tools.
Usage
# Get configured alternatives and their values.
update-alternatives --get-selections
# Show the full list of alternatives for commands.
update-alternatives --display 'java'
# *Interactively* change the default alternative for commands.
update-alternatives --config 'java'
update-alternatives --config --all