Installing Python from source on Linux Ubuntu

Installing Python from source on Linux Ubuntu

Download the latest tar from internet

http://www.python.org/download/

Extract it to some location

Using tar xfz command

go to location where you extracted

/home/jj/software/programming/Python-3.3.2


Configure the build

jj@jj-VirtualBox:~/software/programming/Python-3.3.2$ ./configure


Make the build

jj@jj-VirtualBox:~/software/programming/Python-3.3.2$ make


Install Python

jj@jj-VirtualBox:~/software/programming/Python-3.3.2$ sudo make install


jj@jj-VirtualBox:~/software/programming/Python-3.3.2$ exit

Test install

jj@jj-VirtualBox:~$ python3
Python 3.3.2 (default, Jun  6 2013, 13:25:22)
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Done :)

No comments:

Post a Comment

Please share your views and comments below.

Thank You.