Linux : How to install clang on CentOS 7

By | June 8, 2015

The EPEL repository provides clang RPM package. So to install clang on CentOS 7, You need to install EPEL first:

Then you can install “clang”:

After this, you can use clang to compile your program.