Alternatives for clang
In Ubuntu, installing clang-3.6 doesn’t provide you with
clang++ links to the
clang++-3.6 executables, or a way of easily selecting the active clang version when you have multiple versions installed.
This command/script creates a clang group using update-alternatives so you can easily execute
clang (without the version number) and switch between different clang versions.