Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Permanently enable RHEL scl

Tags:

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.

like image 754
paweloque Avatar asked Jan 21 '14 17:01

paweloque


People also ask

What is SCL enable in Linux?

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.

What is RHEL SCL?

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.

What is Rh python36?

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.


1 Answers

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
like image 176
Robert Cohen Avatar answered Oct 11 '22 11:10

Robert Cohen