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.
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.
This option sounds dangerous to me for root. I would think something like the following would be safer and more appropriate:
You can create a function that takes command line options. Think of this as an alias on steroids. Add the following to your .bashrc
Then test:
This doesn’t help with your magic line in scripts, but will make it easier to call scripts:
Call it normal and notice, the default installation of python is used:
Call it with our alias, and notice that Python 2.7 is used:
Well, you could add something to your startup script to source the enable script.
Eg add to your
.bash_profile
(note space between initialdot
and/
)