[CentOS] How to install clang on CentOS 7?

Mon Jun 8 07:34:07 UTC 2015
Laurent Wandrebeck <l.wandrebeck at quelquesmots.fr>

Le 08/06/2015 09:30, Nan Xiao a écrit :
> Hi all,
>
> I want to install clang on CentOS 7. After executing "yum install
> clang", it outputs:
>
> [root at hp ~]# yum install clang
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>   * base: centos.mia.host-engine.com
>   * elrepo: elrepo.mirrors.arminco.com
>   * extras: centos.arvixe.com
>   * updates: centos.eecs.wsu.edu
> No package clang available.
> Error: Nothing to do
>
> Doesn't  CentOS 7 support rpm install clang? Thanks in advance!
>
> Best Regards
> Nan Xiao
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
Hi.
clang is available in EPEL repository.
See http://fedoraproject.org/wiki/EPEL

HTH,
Laurent.

-- 
Laurent