Hi,
Clang 6.0.0 is released. But it is not available as pre-build binary for Ubuntu 16.04 . I hope they would upload that too.
Hi,
Clang 6.0.0 is released. But it is not available as pre-build binary for Ubuntu 16.04 . I hope they would upload that too.
You can install it from llvm.org's server.
You need to add the server and its public key first.
Run it as clang-6.0Code:wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main" sudo apt-get update sudo apt-get install -y clang-6.0
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
clang-6.0 is available in Debian Testing (Buster) package manager along with all the other related packages.
Other versions are also available.
3.9
4.0
5.0
I don't currently have access to the stable release of Debian, so can't speak to it's availability in that version.
As root on Debian, I ran:
Or use "sudo" to run "update-alternatives".Code:update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-6.0 100 update-alternatives --install /usr/bin/clang clang /usr/bin/clang-6.0 100
Please see the man page for more information.
Maybe it is better for me, to just wait for clang 6.0.0 to appear in Ubuntu package manager.
Yeah, just do it man!
https://packages.debian.org/clang shows clang-5.0 as latest version in stretch-backports. The equivalent page for Ubuntu shows clang on version 6.0 in the long term support version of Ubuntu (18.04 Bionic) to be released next month.