I know that there are similar questions for installation of clang-lower versions. But, I am trying to follow them to install clang-3.9 or 4.0 , but I am unable to do so on my Linux Mint 18.
First, I was only getting options upto clang-3.8 using
sudo apt-get install clang
followed by pressing tab twice.
Then, I followed this link and followed whatever is there in the first answer.
Now, I can see clang-3.9 and clang-4.0 when I press tab after typing
sudo apt-get install clang.
Now, when I do
sudo apt-get install clang-4.0
I get the following error:-
The following packages have unmet dependencies:
clang-4.0 : Depends: libjsoncpp0 (>= 0.6.0~rc2) but it is not installable
E: Unable to correct problems, you have held broken packages.