Re: Kernel, modules and GCC format
"janjansenbe" <firstname.lastname@example.org> writes:
> Can you explain how update-alternatives works in practice ?
The manual page update-alternatives(8) does a pretty good job, but the
short and curly of it is: update-alternatives maintains a bunch of
symlinks for things like gcc, vi, and other applications where Debian
ships a bunch of alternative implementation of the same thing.
You can maintain these links by hand, and update-alternatives will
respect that, but the real advantage is that using update-alternatives
will do sensible things when packages are removed, can show all the
choices for a package available, and so forth.
To configure something, run as root:
] update-alternatives --config <name>