Installing clang on RHEL/CentOS and Ubuntu

For RHEL and CentOS:

1) Install EPEL repository (read here on how to install it)

2) Install clang package:
$ sudo yum install clang

For Ubuntu 16.04:

1) Install clang packages:
$ sudo apt-get install clang libclang-dev

2) Create a symlink to libclang:
$ cd /usr/lib/-linux-gnu
$ sudo ln -s libclang-.so libclang.so

Example:
$ cd /usr/lib/powerpc64le-linux-gnu
$ sudo ln -s libclang-3.8.so libclang.so

Advertisements

2 thoughts on “Installing clang on RHEL/CentOS and Ubuntu

  1. Alex

    You actually make it seem so easy with your presentation but I find this matter to be actually something which I feel I might never understand. It sort of feels too complex and extremely large for me. I’m having a look forward in your next submit, I will attempt to get the dangle of it!

    Like

    Reply
  2. Alex

    Nice weblog right here! Also your web site so much up very fast! What host are you the usage of? Can I get your affiliate link in your host? I want my web site loaded up as quickly as yours lol

    Like

    Reply

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s