How to Install clang-6.0 in Ubuntu 18.04

Install clang-6.0 by entering the following commands in the terminal:

sudo apt update
sudo apt install clang-6.0


C, C++ and Objective-C compiler

Clang project is a C, C++, Objective C and Objective C++ front-end based on the LLVM compiler. Its goal is to offer a replacement to the GNU Compiler Collection (GCC). . Clang implements all of the ISO C++ 1998, 11 and 14 standards and also provides most of the support of C++17.


Version: 1:6.0-1ubuntu2

Section: universe/devel