Skip to content

Instantly share code, notes, and snippets.

@akrabat
Created August 9, 2016 13:05
Show Gist options
  • Save akrabat/ec6ae5d83cdf7226a94fac067217d192 to your computer and use it in GitHub Desktop.
Save akrabat/ec6ae5d83cdf7226a94fac067217d192 to your computer and use it in GitHub Desktop.
Install clang-3.8 on Ubuntu 14.04
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
@rajarockey25
Copy link

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]$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment