Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For instance, RHEL6 comes with gcc 4.4.7, but also provides 46.9 and 52.2 1 via Software Collections (SCL).  Newer versions of build-time package are available (eg, gcc, valgrind, make, etc) and run-time packages too (python, ruby, php, git, mariadb, maven, nodejs, perl, java, nginx, mysql, mongodb, postgresql, redis, etc).

And there are other related RPMs (fortran, c++, etc.). To see what is available run the command

 yum list devtoolset-4\*scl -l
# look for the latest version of devtoolset, eg, devtoolset-6 as of June 2017

yum | grep rhscl

The yum repo for SCL is SLAC RHEL6 Server Software Collections (slac-rhel-x86_64-server-6-rhscl-1). These are installed on public login hosts, if you do not have sudo on a host where it is needed, please send an email to unix-admin@slac.stanford.edu. 

...

devtoolset-3-gcc-4.9.2-6.2.el6.x86_64
devtoolset-4-gcc-5.2.1-2.2.el6.x86_64
devtoolset-6-gcc-6.3.1-3.1.el6.x86_64

The You can have the meta RPM "devtoolset-6" will install other meta RPMs: devtoolset-6-{perftools, runtime, toolchain}.  Here's an example with devtoolset-4-toolchain" installed to get all the devtoolset GCC related RPMs installed:

ksa@iris02 $ rpm -q --requires devtoolset-4-toolchain
devtoolset-4-runtime  
devtoolset-4-gcc  
devtoolset-4-gcc-c++  
devtoolset-4-gcc-gfortran  
devtoolset-4-binutils  
devtoolset-4-gdb  
devtoolset-4-strace  
devtoolset-4-dwz  
devtoolset-4-elfutils  
devtoolset-4-memstomp  
devtoolset-4-ltrace  

...