To install Python 3.6 on Ubuntu 17.04, enter the command: $ sudo apt-get install python3.6 Install IDLE for Python 3.6, idle-python3.6: $ sudo apt install idle-python3.6 To install package using pip for Python 3.6: - Download get-pip.py from https://…