Compiler Explorer with LLVM 6

Installing LLVM 6 and Clang 6

Note this instructions are for Ubuntu 16..04 xenial

Modify repositories if you are using different ubuntu version

sudo gedit /etc/apt/sources.list  (append the following)


#LLVM and Clang
deb llvm-toolchain-xenial main
deb-src llvm-toolchain-xenial main
# 5.0
deb llvm-toolchain-xenial-5.0 main
deb-src llvm-toolchain-xenial-5.0 main
# 6.0
deb llvm-toolchain-xenial-6.0 main
deb-src llvm-toolchain-xenial-6.0 main


wget -O –|sudo apt-key add –

sudo apt-get update

sudo apt-get install clang-6.0 clang-tools-6.0 clang-6.0-doc libclang-common-6.0-dev libclang-6.0-dev libclang1-6.0 libclang1-6.0-dbg clang-format-6.0 clang-tidy-6.0 python-clang-6.0 libllvm6.0 libllvm6.0-dbg lldb-6.0 liblldb-6.0-dev llvm-6.0 llvm-6.0-dev llvm-6.0-doc llvm-6.0-examples llvm-6.0-runtime llvm-6.0-tools lld-6.0 libfuzzer-6.0-dev

Check out Online Compiler


Join the Discussion

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at

Up ↑

%d bloggers like this: