How to I install python 2.7.5 on Ubuntu – 4 Simple Steps

1. Install dependencies
sudo apt-get install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
2. Download python
cd ~/Downloads/
wget http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz
3. Extract download
tar -xvf Python-2.7.5.tgz

4. Install python
cd Python-2.7.5
./configure
make
sudo checkinstall
facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply

Your email address will not be published. Required fields are marked *