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.

Abhimanyu
  • 1,393

2 Answers2

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.

  • I've already downloaded it, is there a way I can still purge any useless files? – Abhimanyu Sep 08 '14 at 03:17
  • 1
    I'm not sure about that but it is always safe to uninstall (via purge) and then reinstall. –  Sep 08 '14 at 03: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 08 '14 at 03:36
1

You could try running:

sudo apt-get install software-center

Kaz Wolfe
  • 34,122
  • 21
  • 114
  • 172
learner
  • 19