How to use SCL

This quick tutorial will show you how to use Software Collections (scl) on the rlogin nodes.  SCL overrides system default versions of software, generally giving you newer versions than what is available from CentOS.

Use the following command to list available software collections:

scl --list

Use the following command to enable a software collection:

scl enable <title> <command>

Example:

bash-4.1$ python --version
Python 2.6.6
bash-4.1$ scl --list
devtoolset-2
python33
ruby193
v8314
bash-4.1$ scl enable python33 bash
bash-4.1$ python --version
Python 3.3.2

 

Skip to content