In this video we will see how to install python 2.7.12 in ubuntu via its terminal
Commands Are in the Following comments with '$' to identify each
install prerequisites for Python
$ 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
Download Python
$ cd /usr/src
$ sudo wget https://www.python.org/ftp/python/2.7...
For Extracting
$ tar xzf Python-2.7.12.tgz
Compile Python
$ cd Python-2.7.12
$ sudo ./configure
$ sudo make altinstall
Check the Python Version
$ python2.7 -V
More Info? Click below to Subscribe:
/ syedareebzaidi
/ syedareebzaidi
/ areeb_bj
/ syed.areeb.zaidi
Thanks for watching!