Install Python Version 3.5 in Ubuntu

Install Python Version 3.5 in Ubuntu

# sudo apt-get install build-essential checkinstall -y
# sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev -y

# sudo wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz
If the link doesn’t work go to http://www.python.org and search for the latest version of python to download

# sudo tar xzf Python-3.5.2.tgz

# cd Python-3.5.2

# sudo ./configure

# sudo make altinstall

# python3.5 -V

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s