How to install Python 2.7.9 on Ubuntu 14.04

First, install some dependencies:
sudo apt-get install build-essential
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Then download using the following command:
cd ~/Downloads/
wget https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz
Extract and go to the dirctory:
tar -xvf Python-2.7.9.tgz
cd Python-2.7.9
Now, install using the command you just tried:
./configure
make
sudo make install

Comments

Popular posts from this blog

How to learn data structure effectively

How to resolve some issue while Installing Moodle Ubuntu 16.04 using Xampp

How to change phpmyadmin URL in Xampp Ubuntu and how to solve 'New Security Concept while accessing Phpmyadmin - Xampp' ?