0

I accidentally removed the Ubuntu Software Centre, when I was actually trying to remove my Ubuntu One applications. Although I don't remember directly uninstalling the Centre, I think deleting one of those packages might have triggered it.

I cannot look at history of application changes, as the Software Centre is missing.

Please advise on how to install, or rather reinstall, Ubuntu Software Centre on my computer.

2

2 Answers 2

4

Since you are not sure what you deleted, I suggest you to run sudo apt-get purge software-center to clear all files it left over. Then, you can reinstall from scratch by running sudo apt-get install software-center.

Regarding the history of changes, there is a log file called .bash_history in your home folder which show the history of the commands you run in the terminal. This is a hidden file so in order to see it you need to press Ctrl+H. This can give you hints of what you deleted.

3
  • I've already downloaded it, is there a way I can still purge any useless files?
    – Abhimanyu
    Sep 8, 2014 at 3:17
  • 1
    I'm not sure about that but it is always safe to uninstall (via purge) and then reinstall.
    – user308164
    Sep 8, 2014 at 3:25
  • You mean now that I have it installed, I should run these: purge software-center and install software-center? Isn't it already installed? Where's any reinstall or uninstall happening?
    – Abhimanyu
    Sep 8, 2014 at 3:36
1

You could try running:

sudo apt-get install software-center

0

Not the answer you're looking for? Browse other questions tagged .