Permanently enable RHEL scl

paweloque picture paweloque · Jan 21, 2014 · Viewed 13.5k times · Source

Is there a way to permanently enable custom Software Collections for RedHat?

I have installed an scl to provide python27 in RHEL6 and don't want to have to enable the custom scl every time.

Answer

Robert Cohen picture Robert Cohen · Feb 19, 2014

Well, you could add something to your startup script to source the enable script.

Eg add to your .bash_profile (note space between initial dot and /)

. /opt/rh/python27/enable