Catalogue
Upgrading Python on CentOS

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.

Author

Kenzo Tanaka

Posted on

2015-02-17

Licensed under