添加环境变量主要是在/etc/profile中
例如,在/usr/local/下安装了python2.7
因为系统默认是2.4,所以
#python
Python 2.4.3 (#1, Sep
3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
Type “help”, “copyright”, ...
5-30 4,037 views
添加环境变量主要是在/etc/profile中
例如,在/usr/local/下安装了python2.7
因为系统默认是2.4,所以
#python
Python 2.4.3 (#1, Sep
3 2009, 15:37:37)
[G...