1) #sudo apt-get install build-essential
2)#sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
3)#cd ~/Downloads/
4)# wget http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz
5) Extract and go to the dirctory:
--------------------------------------
#tar -xvf Python-2.7.5.tgz
#cd Python-2.7.5
6) Now, install using the command you just tried:
-----------------------------------------------
#./configure
#make
#sudo make altinstall or sudo make install (to set python 2.7 as default ver.)
2)#sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
3)#cd ~/Downloads/
4)# wget http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz
5) Extract and go to the dirctory:
--------------------------------------
#tar -xvf Python-2.7.5.tgz
#cd Python-2.7.5
6) Now, install using the command you just tried:
-----------------------------------------------
#./configure
#make
#sudo make altinstall or sudo make install (to set python 2.7 as default ver.)
No comments:
Post a Comment