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