永久启用RHEL scl [英] Permanently enable RHEL scl

查看:146
本文介绍了永久启用RHEL scl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种方法可以永久启用RedHat的自定义软件集合?

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

我已经安装了一个scl以在RHEL6中提供python27,并且不想每次都启用自定义scl.

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

推荐答案

好吧,您可以在启动脚本中添加一些内容以获取启用脚本.

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

例如添加到您的.bash_profile(注意初始dot/之间的空格)

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

. /opt/rh/python27/enable

这篇关于永久启用RHEL scl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆