Saturday, 10 November 2018

How to enable SCL Repository in Cent OS 7



The Software Collections (SCL) repository is created to provide safely installation on Cent OS and RHEL and also provide installation of multiple software versions on the same machine. The SCL is available yum default repository on Cent OS 6.5 and later.
Set up SCL Repository: The SCL is available on CentOS 6.5 and later. Run the following command:

[root@linuxcnf ~]# yum install centos-release-scl scl-utils-build
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
……
Installed:
centos-release-scl.noarch 0:2-2.el7.centos                               
scl-utils-build.x86_64 0:20130529-18.el7_4

Dependency Installed:
centos-release-scl-rh.noarch 0:2-2.el7.centos  
dwz.x86_64 0:0.11-3.el7          
iso-codes.noarch 0:3.46-2.el7 
perl-srpm-macros.noarch 0:1-8.el7
redhat-rpm-config.noarch 0:9.1.0-80.el7.centos 
xml-common.noarch 0:0.6.3-39.el7 

Complete!
[root@linuxcnf ~]#

Verification: Run the following command to verify the installation:

[root@linuxcnf ~]# yum repolist |grep scl
centos-sclo-rh/x86_64             CentOS-7 - SCLo rh                   7,975+124
centos-sclo-sclo/x86_64           CentOS-7 - SCLo sclo                       775
[root@linuxcnf ~]#

SCL Repository installation is done.

No comments:

Post a comment