Score:-5

How can I restore Ubuntu Terminal and many other software after removing python?

cn flag

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?

guiverc avatar
cn flag
Many tools of Ubuntu require python3 to be installed; so if you remove them - those packages (eg. GUI terminal) will cannot run (as it requires or *depends* on python3 being installed). You can still use text terminals, but you'll find many things no longer work. (you may not be able to use `apt` & user front-end tools; but `dpkg` & basic tools will still function). Restoration of backups, or re-install (*without format*) work too.
Someone avatar
my flag
Is the problem solved ?
Score:1
my flag

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
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.