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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content