Upgrading Python on CentOS
Background
I wanted to use pysftp, but the pre-installed 2.4 series was too old and didn’t work, so I’m upgrading to a working version in the 2.7 series.
Environment
CentOS5.8 (Final)
Python Version to Install
Python2.7.6
Installation Steps
Installing with yum pulls in other unnecessary modules and overwrites dependencies, so I build from source.
- Install pip
- Install paramiko and pysftp
Summary
No Apache restart required, and the existing Python version was left in place.
Upgrading Python on CentOS
https://kenzo0107.github.io/en/2015/02/17/versionup-python-on-centos/
