What is the alternatives system and how do I configure it?

Updated -

The alternatives system is used to automatically maintain symbolic links to binary files on a priority based system. This eliminates having complex path variables and having to put all the binary files in /usr/bin.

/usr/bin/java -> /etc/alternatives/java -> /path-to-binary-files

This configuration adds a layer of abstraction so you can update, switch versio...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In

Was this helpful?

We appreciate your feedback. Leave a comment if you would like to provide more detail.
It looks like we have some work to do. Leave a comment to let us know how we could improve.