Use SCL packages without bash

The recommended way to run SCL packages is by using the scl command and starting a new session like this:

scl enable ruby193 bash

Sometimes though, you don’t want to start a new session, just load the package into the current session. To do this, you just need to source the “enable” file in each package. Here’s how to do it with ruby:

source /opt/rh/ruby193/enable

Published:
June 01, 2015

Category
How To