1、tar -xvf python-2.6.4.tar
2、Cd python-2.6.4
3、./configure --prefix=/home/tmxu/local/python
4、make && make install
5、将python的路径加入.bash_profile中的PATH.,并执行source .bash_profile使配置立即生效

PATH=$PATH:/home/tmxu/local/python/bin

 export PATH=/home/tmxu/local/python/bin/:$PATH

  

相关文章:

  • 2022-12-23
  • 2021-12-14
  • 2022-12-23
  • 2022-01-17
  • 2022-12-23
  • 2021-09-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2022-01-01
  • 2021-10-29
  • 2021-11-24
相关资源
相似解决方案