How to install Python 3.6 on Ubuntu?
To install Python 3.6 on Ubuntu, you can follow these steps:
- Open the terminal.
- Update the system software package list.
sudo apt update
- Tool for installing supporting software packages:
sudo apt install software-properties-common
- Add the deadsnakes PPA repository.
sudo add-apt-repository ppa:deadsnakes/ppa
- Update the list of software packages:
sudo apt update
- Install Python 3.6:
sudo apt install python3.6
- Install the pip package manager for Python 3.6.
sudo apt install python3-pip
- Verify the installation of Python 3.6:
python3.6 --version
Now, you should have successfully installed Python 3.6 on Ubuntu.