Saturday, May 13, 2017

How to Install Python 3.5.2 on Ubuntu

1.sudo apt-get install build-essential checkinstall
2.sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
3.cd /usr/src
4.sudo wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
5.sudo tar xzf Python-3.5.2.tgz
6.cd Python-3.5.2
7.sudo ./configure
8.sudo make altinstall
9.python3.5 -V 
 

No comments:

Post a Comment