distributed storage minio

2022-12-26   ES  

1, SCL Introduction

1, SCL Introduction

SCL (Software Collections) is a software on a software on a software on a software on a CENTOS/RHEL Linux platform. It provides RHEL/CentOS Linux users with a convenient, securely installation and use of applications and runtime environments. At the same time, avoid messing the system.

CentOS/RHEL Linux distribution is known for its stability. All software must be stable as much as possible, resulting in very low version of the basic software. For example, the GCC version in Centos 6.7 (released in 2015) is 4.4.7 (2012 version) Essence However, in engineering development, high -version GCC support is usually required, so it is necessary to develop a high version of GCC in Centos/RHEL Linux.

SCL project homepage:https://www.softwarecollections.org

2, CentOS source support

download source warehouse file CentOS- 7.Repo to /etc/yum.repos.d:


All the $ releaseVer in the CentOS-7.Repo file is replaced with all the version number 7

Update warehouse:

yum clean all

yum makecache

sudo yum update

3, SCL source installation

yum install centos-release-scl scl-utils-build

CentOS6/7 Install SCL source

yum-config-manager --enable rhel-server-rhscl-6-rpms

RHEL6 Install SCL Source

yum-config-manager --enable rhel-server-rhscl-7-rpms

RHEL7 Install SCL Source

4, SCL software set view

yum list all --enablerepo='centos-sclo-rh'

Inquiry SCL supported software collection

SCL software set contains a large number of software packages. You can choose to install the specified RPM package, or you can install it.

2. SCL use

1. View the installed SCL software set

scl --list

Query SCL Software Collection

scl --list SCL_NAME

Query specified the installed RPM package installed with SCL software set

2, SCL software set installation

yum install SCL_NAME

Install the specified SCL software set

yum install devtoolset-7-gcc.x86_64  devtoolset-7-gcc-c++.x86_64 devtoolset-7-gcc-gdb-plugin.x86_64

Install the specified RPM package of the SCL software set.

yum list SCL_NAME\*

Query specified software concentrated RPM package

3. Uninstall the specified SCL software set

yum remove SCL_NAME\*

Uninstall specified SCL software set

4. Execute the application

scl enable SCL_NAME_1 SCL_NAME_2 command

Activate the SCL software set, and directly execute without parameter commands

scl enable SCL_NAME_1 SCL_NAME_2 'command --argument'

scl enable SCL_NAME_1 SCL_NAME_2 "command --argument"

scl enable SCL_NAME_1 SCL_NAME_2 -- command --argument

Activate the SCL software set and execute the number of parameters

scl enable devtoolset-7 "gcc --version"

scl enable devtoolset-7 -- gcc --version

Activate DevtoolSet-7 software set, view the GCC version

5. Create SCL software set shell environment

scl enable SCL_NAME_1 SCL_NAME_2 bash

In the current shell environment, create a new shell and activate one or more SCL

echo $X_SCLS

View the activated SCL in the SCL Shell environment


Exit SCL Software Collection Shell environment

scl enable devtoolset-7 bash

Create the bash environment of the DEVTOOLSET-7 software set

6. Command execution file command

cat cmd_file | scl enable SCL_NAME_1 SCL_NAME_2 -

execute file command

7. Activate SCL software set

source /opt/rh/SCL_NAME/enable

At the current shell activation specified SCL software set

3. SCL Common Software Collection

1、Developer Toolset

Developer Toolset is a development tool set designed for the Centos and Rehl Linux platform developers. It provides different versions of the GCC tool set, GNU Debugger, and other development, debugging, and performance testing tools.

Developer Toolset 3, Developer Toolset 4, Developer Toolset 6 has been abandoned.

Developer Toolset 7 Corresponding GCC 7 version

yum install devtoolset-7

Developer Toolset 8 Corresponding GCC 8 version

The Docker container of

yum install devtoolset-8

CentOS7/RHEL7 system Developer Toolset 7 supports as follows:

docker pull


docker pull


docker pull centos/devtoolset-7-perftools-centos7

docker pull centos/devtoolset-7-toolchain-centos7

2、Clang and LLVM Toolset

Clang and LLVM Toolset is a development tool set designed for Centos and Rehl Linux platform developers. It provides LLVM compilers infrastructure, C/C ++ language CLANG compiler, LLDB debugger, code analysis related tools.

yum install llvm-toolset-7.0

Install Clang and LLVM Toolset

scl enable llvm-toolset-7.0 bash

Activate Clang and LLVM Toolset and create shell

docker pull


RHEL7 CLANG and LLVM Toolset Docker Mirror Download

3、Go Toolset

Go Toolset is a development tool set designed for the Centos and Rehl Linux platform developers, providing Golang programming language libraries and tools.

yum install go-toolset-7

Install Go Toolset

scl enable go-toolset-7 bash

Activate Go Toolset and create a shell environment

docker pull


RHEL7 Docker mirror download

4, Python software set


SCL, Python Software Collection includes five versions of Python27, Python33, Python34, Python35, and Python36. The corresponding SCL software set is named Python27, Python33, RH-Python34, RH-Python35, and RH-Python36.

RH-Python36 contains Python3.6 interpreter, web programming extension library, MOD_WSGI, PostgresQL database interface library, Numpy, scipy.

yum install rh-python36

Install RH-Python36

scl enable rh-python36 bash

Activate RH-Python36 and create a shell environment

5, Redis software set


Redis Software Collection includes two versions: Redis3.2 and Redis5.0, and the SCL names are RH-Redis32 and RH-Redis5, respectively.

yum install rh-redis5

Install RH-Redis5

scl enable rh-redis5 bash

Activate RH-Redis5 and create a shell environment

service rh-redis5-redis start

Start the RH-Redis5 service



MySQL software set includes four versions: MySQL5.5, MySQL5.6, MySQL5.7, and MySQL8.0. The SCL names are RH-Mysql55, RH-Mysql56, RH-Mysql57, and RH-Mysql80.

yum install rh-mysql80

Install RH-MYSQL80

scl enable rh-mysql80 bash

Activate RH-mySQL80 and create a shell environment

systemctl start rh-mysql80-mysqld

Start mysql database service

4. Multi -version GCC deployment

1, GCC 7.3 deployment

yum install devtoolset-7

Install Developer Toolset 7 Software Collection

scl enable devtoolset-7 bash

Activate the Developer Toolset 7 software set and create shell

2, GCC 8.3 deployment

yum install devtoolset-8

Install Developer Toolset 8 Software Collection

scl enable devtoolset-8 bash

Activate the Developer Toolset 8 software set and create a shell environment

5. Multi -version Python deployment

1. Python2.7 deployment

sudo yum install python27

Install SCL Python3 software package

scl enable python27 bash

Open Python2.7 Shell session environment

python --version

python version view

2, Python3.6 deployment

sudo yum install rh-python36

Install SCL Python3 software package

scl enable rh-python36 bash

Open Python3 Shell session environment

python --version

python version view


Related Posts

wgs84 Earth coordinate system, GCJ02 Mars coordinate system, BD09 Baidu coordinate system profile and conversion

Solution SwipeRefreshLayout and ScrollView sliding conflict

Docker lightweight management tool Portainer Xinghe

F1 score, Micro F1Score, Macro F1Score

distributed storage minio

Random Posts

Record once Elastic-JOB Faber Query and Basic Concept understanding

mysql database security backup

H5 Implementation picture upload case

TORINGBOOT project is made into jar package and deployed on the Linux server

Cobbler Multi -System Automation Installation