devtoolset-4 - Developer Toolset is designed for developers working on CentOS or Red Hat Enterprise Linux platform. It provides current versions of the GNU Compiler Collection, GNU Debugger, Eclipse development platform, and other development, debugging, and performance monitoring tools.

This collection is EOL since Dec 2017

Report a bug in the issue tracker


You can get started in three easy steps:

# 1. Install a package with repository for your system:
# On CentOS, install package centos-release-scl available in CentOS repository:
$ sudo yum install centos-release-scl

# On RHEL, enable RHSCL repository for you system:
$ sudo yum-config-manager --enable rhel-server-rhscl-7-rpms

# 2. Install the collection:
$ sudo yum install devtoolset-4

# 3. Start using software collections:
$ scl enable devtoolset-4 bash

At this point you should be able to use gcc and other tools just as a normal application. See examples bellow:

$ gcc hello.c
$ sudo yum install devtoolset-4-valgrind
$ valgrind ./a.out
$ gdb ./a.out

In order to view the individual components included in this collection, including additional development tools, you can run:

$ sudo yum list devtoolset-4\*

Developer Toolset Software Collections as Docker Formatted Containers

On CentOS 7 and RHEL 7 you can pull the images with the following commands:

$ docker pull rhscl/devtoolset-4-perftools-rhel7
$ docker pull rhscl/devtoolset-4-toolchain-rhel7

For more on the docker images follow the link to public source repository:


Community Project: Maintained by upstream communities of developers. The software is cared for, but the developers make no commitments to update the repositories in a timely manner.

Yum Repositories

Operating system Package with repo Browse files
CentOS 6

yum install centos-release-scl-rh

CentOS 7

yum install centos-release-scl-rh


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


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



Rated by 1 user

Report malicious content