From Fedora Project Wiki

Alternatives system

alternatives Maintain symbolic links determining default commands

Description

It is possible for several programs fulfilling the same or similar functions to be installed on a single system at the same time. For example, many systems have several text editors installed at once. This gives choice to the users of a system, allowing each to use a different editor, if desired, but makes it difficult for a program to make a good choice of editor to invoke if the user has not specified a particular preference.

The alternatives system aims to solve this problem. A generic name in the filesystem is shared by all files providing interchangeable functionality. The alternatives system and the system administrator together determine which actual file is referenced by this generic name. For example, if the text editors ed(1) and nvi(1) are both installed on the system, the alternatives system will cause the generic name /usr/bin/editor to refer to /usr/bin/nvi by default. The system administrator can override this and cause it to refer to /usr/bin/ed instead, and the alternatives system will not alter this setting until explicitly requested to do so.

From the Man page: https://linux.die.net/man/8/alternatives

Package

The package for the alternatives system is Package-x-generic-16.pngchkconfig (chances are that it is already installed.)

Gui

There is a specific Package-x-generic-16.pnggalternatives for the GUI.


Package Maintainers

There is a specific page to explain how to use alternatives when creating a packages: Packaging:Alternatives