Table of Contents

Update-Alternatives

Sample with maven

Add new entry

update-alternatives --install /usr/bin/mvn maven /opt/maven/apache-maven-3.8.7/bin/mvn 0

Select an entry

update-alternatives --config maven