0
0
  • You must to post comments
0
0

Hi Rajeshwari,

Install Required Packages

$ 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 3.6.0 and then extract the downloaded package.

$ cd /usr/src
$ wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz
$ sudo tar xzf Python-3.6.0.tgz

Compile Python Source

Compile python source code on your system using altinstall.

$ cd Python-3.6.0
$ sudo ./configure
$ sudo make altinstall

You have successfully installed Python 3.6 on your system.

# python3.6 -V

Python 3.6.0
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.