Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there anyway to do factory resetting in Ubuntu, just like we do in our smart phones?

I am in deep trouble to install/uninstall anything which uses gcc. I accidentally uninstalled gcc, infact deleted that directory in usr/lib/ and /usr/bin/ . So now I can't install new gcc, My Eclipse is not able to run Android SDK etc.

So all I want to get a fresh copy without going into hassle of backing up everything and installing a new Ubunutu.

share|improve this question
    
Did you do an uninstall or a delete? –  saji89 Jan 18 '13 at 7:34
    
Probably a delete, un-installing gcc will take down so many dependencies you wont be able to book straight to a working system anymore. –  Bruno Pereira Jan 18 '13 at 7:37
    
so does it mean, reinstalling everything from start? ;( –  Junaid Jan 18 '13 at 8:08
    
Did you already tried sudo apt-get install --reinstall gcc? –  Avio Jan 18 '13 at 8:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.