Removed Python Accidently From Ubuntu ? Here's A Solution

Yesterday while I was trying to update my Ubuntu 12.10 on my laptop, I got an error message saying that there is not enough space to update the installation. So I tried to remove unwanted applications that I had installed on it.

I uninstalled some of my applications that I hardly used. And then, I saw Python. I thought that it's not needed by me. So I clicked on Remove. And then it strikes a disaster. As soon as I removed, the installation showed an error message saying my computer needs to be updated. But before it, I restarted it. And then... I could not see my Unity Desktop. I could do nothing. Even the terminal could not be opened.

I tried searching on various forums and found various solutions. Here are some of them :

Try Installing Python : 


If you have deleted just Python, then you can try reinstalling it again. Use the command : sudo apt-get install python2.7 

Try Reinstalling Ubuntu Desktop : 


Trying reinstalling Ubuntu Desktop. Just press Ctrl + Alt + F1. It will open a terminal window. Now install Ubuntu Desktop by the command sudo apt-get install --reinstall ubuntu-desktop 


Tip : Never Ever Remove Python From Ubuntu

 

No comments :

Post a Comment