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:

sudo yum install epel-release

Then you can install “clang”:

sudo yum install clang

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