Tuesday, April 24, 2012

Remove OpenOffice

How to safely remove OpenOffice.org in Ubuntu 10.04 LTS  You may be aware of some guides on the internet telling you how to do this, mainly using one of the following commands,


sudo apt-get purge openoffice.org*
sudo apt-get purge openoffice.org-* 

If you run either of the above commands the following packages will be REMOVED:

aspell* aspell-en* dictionaries-common* hunspell-en-ca* hunspell-en-us* language-support-en* language-support-writing-en* myspell-en-au* myspell-en-gb* myspell-en-za* openoffice.org-base-core* openoffice.org-calc* openoffice.org-common* openoffice.org-core* openoffice.org-draw* openoffice.org-emailmerge* openoffice.org-gnome* openoffice.org-gtk* openoffice.org-help-en-us* openoffice.org-impress* openoffice.org-math* openoffice.org-style-human* openoffice.org-writer* python-uno* wbritish*


STOP, DO NOT RUN THESE COMMANDS!

If you do, programs including Firefox will lose its ability to spell check because the above commands will erase some very useful packages (all those in green).

Fortunately you can easily reverse the damage by reinstalling the packages highlighted in green.

How to fix the damage

sudo apt-get install aspell aspell-en dictionaries-common hunspell-en-ca hunspell-en-us language-support-en language-support-writing-en myspell-en-au myspell-en-gb myspell-en-za wbritish
Lesson for next time, be cautious when following guides on the internet. Including mine, I am only human and sometimes can make typo errors or due to a lack of knowledge post garbage.

However, if you feel I have made a mistake please post a comment or email me.

So how can I safely remove OpenOffice.org in Ubuntu 10.04 (LTS) ?

sudo apt-get purge openoffice.org-base-core openoffice.org-common openoffice.org-core openoffice.org-style-human uno-libs3 ure openoffice.org-thesaurus-en-au openoffice.org-thesaurus-en-us openoffice.org-hyphenation openoffice.org-hyphenation-en-us openoffice.org-l10n-common

 source: http://linuxtweaking.blogspot.com/2011/03/how-to-safely-remove-openofficeorg-in.html


No comments:

Post a Comment