How to install clang on CentOS 7

The EPEL repository provides clang RPM package. So to install clang on CentOS 7, You need to installEPEL 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.

(You can also read this post on itechlounge.net)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.