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.

I've been having a few issues with Ubuntu Software Center and need to do a complete reinstall of it. I tried "sudo apt-get purge software-center" but that said it would remove the Ubuntu desktp. So how can I completely remove it (config files and everything) then reinstall it?


share|improve this question
What problem are you having and what makes you think reinstalling software center will fix it? This is not windows and reinstalling things rarely, if ever, fixes problems. –  bodhi.zazen Apr 24 '14 at 16:18
Well it's only just a few little things that would probably be insignificant to most. I would just like to know how to completely reinstall it is all. @bodhi.zazen –  Master_W Apr 24 '14 at 16:21

2 Answers 2

ubuntu-desktop is a meta-package. Removing it will not actually make your desktop inoperable.

Your method is correct, though I use explicit flags when I remove:

sudo apt-get remove --purge software-center

This will remove config files as well as the package. To install it again:

sudo apt-get install software-center

You could also add ubuntu-desktop to that command after the software-center package, if you want to be sure you are still tracking it.

share|improve this answer
So running that command won't actually remove anything except the software center? @K. Darien Freeheart –  Master_W Apr 24 '14 at 16:24
That will not work. –  bodhi.zazen Apr 24 '14 at 16:27
How so? All I want is to completely wipe the Software Center off my system, then reinstall it. @bodhi.zazen –  Master_W Apr 24 '14 at 16:30
apt-get will remove the dependencies as well. –  bodhi.zazen Apr 24 '14 at 16:30
It will remove software-center and the ubuntu-desktop metapackage. The metapackage doesn't contain software itself. So technically it will remove more than just software-center, but it won't affect any of your installed software or any programs you use. –  K. Darien Freeheart Apr 24 '14 at 16:32

To remove a package without the dependencies use dpkg

sudo dpkg -P <package> --force-depends

Then you can re-install it with apt-get

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.