Install Python On Ubuntu

Initially you need to 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 you can download python using the following command

cd ~/Downloads/
wget http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz

Then Extract and go to the dirctory

tar -xvf Python-2.7.5.tgz
cd Python-2.7.5

Now, you can install python using the following command

./configure
make
sudo make install

done.

Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkedin
Share On Pinterest

Be the first to comment

Leave a Reply

Your email address will not be published.

*


*