I am a beginner at using Ubuntu, I don't know the commands, I typed sudo apt autoremove to remove python. My desktop is gone, it is showing black screen. What should I do next, could please someone tell me?
Thanks
I am a beginner at using Ubuntu, I don't know the commands, I typed sudo apt autoremove to remove python. My desktop is gone, it is showing black screen. What should I do next, could please someone tell me?
Thanks
You destroyed your desktop. Many parts of the desktop rely on the default python version. Removing python unavoidably causes the removal of the desktop.
The easiest approach, however, is to reinstall the operating system using a live USB or DVD.
Altrernatively, if you manage to log in to a text console or to a recovery prompt with network access, you could reinstall the entire desktop with the command sudo apt install ubuntu-desktop
. However, option 1 is by far easiest for beginning users.
/var/log/apt/
contain a history of all package installations and removals However, you MUST NOT "remove python". Many system tools won't work without python. I agree with @user68186 Reinstall, and don't do that. Python 3 is available:python3 --version
– waltinator Apr 26 '22 at 00:06