I need to install Clang 4.0 and Clang++ 4.0 on my Ubuntu 14.04 box. The most recent version I can find in the apt-get package list is 3.5. How do I install 4.0?
Asked
Active
Viewed 7,181 times
1 Answers
7
I believe you can do it this way:
sudo apt-add-repository "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-4.0 main"
sudo apt-get update
sudo apt-get install clang-4.0 lldb-4.0
This is based on the answer provided here updated to reflect the repositories found here.
Giacomo1968
- 58,727