-5

So, I was trying to uninstall python from my ubuntu 20.04 So, I typed the following command

sudo apt-get remove python3

and it deleted Terminal and much other software. How can undo this?

Dan
  • 14,180
Bharat
  • 1
  • 3

1 Answers1

1

Best and recommended way is to backup /home and reinstall latest version of ubuntu or LTS release

If you wana try some things

This issue is already solved here (Exactly here )

As the answers state

First open a tty

ctrl + alt + f5

Login with your sudo account

Then run the following commands

sudo apt install *python3-all*
# downloads all python 3 things again

sudo apt install --reinstall ubuntu-desktop^

Downloads all the default softwares back

sudo apt-get update

update

sudo apt-get upgrade

upgrade

sudo apt install gnome-terminal

Get the default gui terminal back

sudo apt install gnome-software

Get the software app back

Error404
  • 8,278
  • 3
  • 35
  • 60