Created
August 9, 2016 13:05
-
-
Save akrabat/ec6ae5d83cdf7226a94fac067217d192 to your computer and use it in GitHub Desktop.
Install clang-3.8 on Ubuntu 14.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add - | |
sudo cat "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.8 main" >> /etc/apt/sources.list | |
sudo apt-get update | |
sudo apt-get -qq --assume-yes install clang-3.8 lldb-3.8 | |
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.8 100 | |
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.8 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am facing an issue.i am running the script but error i am receiving
./install_clang.sh
** Working directory: /tmp/tmp.OAPAsPEUiJ
** Checking out llvm
svn: E175002: Unable to connect to a repository at URL 'http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_380/final'
svn: E175002: OPTIONS of 'http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_380/final': could not connect to server (http://llvm.org)
[vce_che@VCECHE218 vce_che]$