Rule of thumb?
IS there a rule of thumb to follow regarding changing .bash_profile and/or using links?
It would be nice if someone could warp this up in a nutshell for me so I better understood the following. I can't really choose which approach I believe is best without a little assistance. one tutorial says add the following links http://appelfreelance.com/2010/07/a-...on-centos-5-4/ Code:
ln -s /opt/python2.6/lib/libpython2.6.so /usr/lib http://villaroad.com/2010/10/rolling.../#comment-1095 (I changed python2.7 to python2.6) Code:
su - root Code:
su - root http://toic.org/2010/08/14/django-on...-and-mod_wsgi/ Let’s make a symolic link to Code:
ln -s /opt/python2.6/bin/python /usr/bin/python2.6 So does Code:
ln -s /opt/python2.6/bin/python /usr/bin/python2.6 .bash_profile Code:
alias python='/opt/python2.6/bin/python' etc. |
ln -s /opt/python2.6/bin/python /usr/bin/python2.6 : Will not harm CentOS 5.x.
alias python='/opt/python2.6/bin/python' etc. : Will prevent a lot of things from working. All admin tools, including yum, depend on the default 'python-2.4.3'. So please do not bring any "python command", that isn't '2.4.3' into the path. .. |
Thanks knudfl
So you are saying it is best not to alter the .bash_profile? |
Quote:
|
All times are GMT -5. The time now is 12:10 AM. |