reference:
http://www.linuxquestions.org/questions/debian-26/change-default-python-version-605397/

Well, if the link exists, remove it: "rm /usr/bin/python". Then make the link with ln -s
In my example output the files with a "->" pointing to a real file, are links. The links you can remove to change them.
You have python pointing to python2.4 . If you want 2.5 do:
rm /usr/bin/python
ln -s /usr/bin/python2.5 /usr/bin/python


change defaut python to 2.6.5 on centos

相关文章:

  • 2021-11-15
  • 2021-12-23
  • 2021-11-06
  • 2021-06-02
  • 2022-03-09
  • 2021-08-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
  • 2021-08-30
  • 2022-12-23
  • 2021-11-11
  • 2021-09-25
相关资源
相似解决方案