debian mentors/ glossary/ alternatives
.........................

Alternatives

The alternatives system allows an administrator to choose which of a set of programs that provide similar functionality is run when a certain command is run. This is useful for setting site-wide defaults for things like editors.

The system requires cooperation between the packages in question, and required each to register themselves with the system using some commands in the ?postinst of their package. I intend to write a tutorial on doing this.