{% extends "section_docs.html" %} {% block title %}Quick Start{% endblock %} {% block content %}
On CentOS, install the SCL release package `centos-release-scl`:
yum install centos-release-scl
On RHEL, enable the RHSCL repository. Note that you may also need to enable the Optional channel and attach a subscription providing access to RHSCL to be able to use that repository.
yum-config-manager --enable rhel-server-rhscl-7-rpms
yum install rh-python35
scl enable rh-python35 bash
For more usage examples and documentation of more complex scenarios, see the Software Collections Packaging Guide.
If you need any help, you can ask your question on StackOverflow using the software-collections tag.
Note that:
%{copr_username}
), i.e. the SCL metapackage name is %{copr_username}-%{copr_projectname}
.# If the build is running on copr %if 0%{?copr_username:1} # define your copr_username and copr_projectname %global scl %{copr_username}-%{copr_projectname} # For other build systems, define the provider and the name of the SCL, e.g. myorganization-ruby193 %else %global scl_name_prefix myorganization- %global scl_name_base ruby %global scl_name_version 193 %global scl %{scl_name_prefix}%{scl_name_base}%{scl_name_version} %endif
See the Creating a Metapackage chapter in the Software Collections Packaging Guide for instructions on how to prepare a metapackage spec file for your SCL.