Linux Software Collections (scl)

Before you begin, it is recommended that you are familiar with basic Linux command line use and command line use of your tools. If you do not have this skill, please contact IT or non-HPC research computing support team.

Often times researchers need software or tools that do not integrate well with our Linux lab’s environment. Software versions may conflict. A tool called Linux Software Collections (scl) creates a number of alternative binary paths and aliases to make an otherwise conflicting set of tools work transparently.

Linux Software Collections (scl) is a command line tool only. When in the terminal, look at what software collections are available.You may use multiple collections at the same time.

How to use scl:

To list available collections, use:

$ scl -l

To use a software collection, use:

$ scl enable <list of collection names> "<your program name>"

We suggest you use your preferred shell as the program you run, because it best simplifies usage of software collections transparently. We expect most people will want to use ‘$ scl enable devtoolset-6 bash’ for their work. To modify your environment to always use a scl environment, add ‘source scl_source enable devtoolset-6’ to your ~/.bashrc . You can read further about scl at the Software Collections website.

Was this helpful?
0 reviews


Article ID: 53139
Wed 5/2/18 1:43 PM
Fri 5/14/21 8:19 AM