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.
The scl tool is used to enable a Software Collection and to run applications in the Software Collection environment. Remember that: When you run the scl tool, it creates a child process (subshell) of the current shell. Running the command again then creates a subshell of the subshell.
Sofware collections - or SCL - is a collection of 'add-on' software packages created and maintained by Red Hat. They were created in order to deliver more up to date versions of software to customers on Red Hat Enterprise Linux which typically does not update software “mid-life” of a product.
rh-python36 - A release of Python 3.6 with a number of additional utilities. This Software Collection gives developers on CentOS and RHEL access to Python 3.6 and allows them to benefit from various advantages and new features of this version.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With