Use SCL packages without bash

This article was published 5 years ago. Due to the rapidly evolving world of technology, some concepts may no longer be applicable.

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

Thoughts on this post

Leave a comment?