You are here

Software Collections

Printer-friendly versionPrinter-friendly version

The standard versions of various developer tools provided as part of a Scientific Linux release (e.g. SL6 or SL7) can become quite old. To gain access to newer versions various software collections can be added to a system. Redhat provides a guide to the available software collections.

Redhat summarises the software collections as: "For certain applications, more recent versions of some software components are often needed in order to use their latest new features. Red Hat Software Collections is a Red Hat offering that provides a set of dynamic programming languages, database servers, and various related packages that are either more recent than their equivalent versions included in the base Red Hat Enterprise Linux system, or are available for this system for the first time."

There is a wide variety of software collections available, we can usually provide access to any that are hosted on the Software Collections website.

To find out which collections are already installed on a DICE machine use the scl command:

scl --list

Developer Toolset

Probably the most useful software collection for most of our users will be devtoolset. This provides access to an extensive set of software packages. In particular it includes the latest versions of the Gnu Compiler Collection (gcc), for SL7 that is currently version 5.2.1.

The version of devtoolset on DICE SL7 is 4.0 and on DICE SL6 it is 3.0. Redhat provides useful information on its website.

The devtoolset packages are installed in an alternate location so that they can exist on a system alongside the standard versions. This means they are not in the standard path. To activate the devtoolset you need to do something like this:

scl enable devtoolset-4 bash

This would launch a new sub-shell with the necessary settings for your path, library load path, etc. When you exit the shell (in the usual way with ctrl-d or by typing exit) everything returns to normal.

You can run any application or script you wish, it does not need to be a shell.

The scl enable command is used to enable the specified software collection.

Other Available Collections

On SL7 the following collections are available immediately upon request:

  • git 1.9.4
  • php 5.5.21
  • php 5.6.5
  • python 3.5.1
  • ruby 2.2.2
Last reviewed: 
20/03/2017

System Status

Home dirs (AFS)
Network
Mail
Other services
Scheduled downtime

Choose a topic