{% extends "section_docs.html" %} {% block title %}Software Collections for Users{% endblock %} {% block content %}

Software Collections for Users

Understanding Software Collections

Enabling Software Collections

To enable support for Software Collections on your system, so that you can enable and build Software Collections, you need to have the scl-utils and scl-utils-build packages installed.

If the scl-utils and scl-utils-build packages are not already installed on your system, you can install them by typing the following at a shell prompt as root:

yum install scl-utils

The scl-utils package provides the scl tool that lets you enable Software Collections on your system.

The scl tool is used to enable a Software Collection and to run applications in the Software Collection environment.

General usage of the scl tool can be described using the following syntax:

scl action software_collection_1 software_collection_2 command

Running an Application Directly

For example, to directly run Perl with the --version option in a Software Collection named softwarecollection1, execute the following command:

scl enable software_collection_1 'perl --version'

Alternatively, you can create a wrapper script that shortens the commands for running applications in the Software Collection environment.

{% endblock %}