How to Install .deb Files in Ubuntu Using Four Methods
Although the landscape of software distribution is always changing, .deb files are still essential for…
Python is a popular programming language mostly used for web development, data analysis, artificial intelligence, and more. In this guide, you will learn how to install Python 3 on your Ubuntu 20.04 or 22.04 system quickly and easily.
To set up all the available versions as alternatives, installed recently, use:
sudo update-alternatives –install /usr/bin/python python /usr/bin/python3.X
(Note: Replace the X with the version you want to install:10 1,.11 2,.12 4)
Once configured with the available versions against each other, if you want to change the current one and set some other version as the default one, use:
sudo update-alternatives –config python
Choose the version you want to set as the default on Ubuntu by entering the number.
Check your Python version again. Use:
python -V
Installing Python 3 on Ubuntu 20.04 or 22.04 is a simple process; by following the steps above in this guide, you can install the latest version of Python and properly configure your system. If you need further assistance, our support team is available to assist 24/7.
If you are having trouble installing Python on Debian 12, read our next tutorial >> How to install Python on Debian 12.
Explore more hosting insights, tips and industry updates.
Although the landscape of software distribution is always changing, .deb files are still essential for…
In this post, we’ll show you how to set up Nginx as a reverse proxy…
While publishing tutorials you might have struggled to add blocks around “Codes” that you wish…