Change: Installing Python

created on Oct. 16, 2012, 7:02 p.m. by Hevok & updated on Oct. 16, 2012, 7:07 p.m. by Hevok

Installing any or multiple versions of Python on Ubuntu is simple.

First of all install some dependencies:

sudo apt-get install build-essential
sudo apt-get install libreadline5-dev libncursesw5 libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libc6-dev libbz2-de

Download: ::

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

Extract and change directory to: ::

tar -xzf Python-2.7.2.tgz && cd Python-2.7.2

Install via building: ::

./configure
make
sudo make altinstall
python-logo-master-v3-TM.png

Categories: Tutorial
Parent: Python

Comment: Updated entry

See entry | Admin

Comment on This Data Unit