Uninstall python3.8 from Ubuntu 20.04.2 LTS

Question:

This is a pretty dumb question, but is ubuntu dependent on Python 3.8? If it is not, how can I uninstall it from my system?

Asked By: user15113985

||

Answers:

Take a look at this:
From @progmatico, it’s not recommended that you uninstall builtins on Ubuntu such as Python. You can update Python, but it’s not reccomended to uninstall. You can uninstall Python 2.x here, but unless you have Python 2 installed on your machine, this won’t be much help. Unless ROM is tight(if not, I suggest the Raspberry Pi(switchable SD cards)), you don’t need to have Python uninstalled.
In summary, you don’t need to uninstall Python, it’s a great coding language 😉

Answered By: NRO

You can uninstall it after installing a python3* version as alternative. You have to install python3.9 available from Ubuntu repository.

sudo apt install python3.9

Here is how to set it as default before uninstalling python3.8.

Without a python3 installed the system will be unusable.

Python3 by default

Answered By: GAD3R

The advantage of using apt autoremove is to remove Python along with its dependencies.

sudo apt autoremove python3 -y

For more information, check the answer given here.

I found the easiest way actually is to simply install the latest pip…

curl -sS https://bootstrap.pypa.io/get-pip.py | python3.8
Answered By: Chibueze Opata

Don’t uninstall python3 in ubuntu as it is depended on many python packages if you delete that terminal, firefox browser,idle , will also delete and at last it will show you authentication error

Answered By: Kishore
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.