Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I attempted to install openoffice with the packages that the openoffice site automatically got for me which were incorrect; RPM files insead of DEB files. The problem is after attempting to install the wrong files and the going back a trying to reinstall with the right files Ubuntu thinks there is already a working version of openoffice, which there isn't. I tried to remove it the way you would if it was the correct installation and working, that hasn't worked. So is there any way to remove every thing related to openoffice so I can try again?

share|improve this question
Can you mention exactly how did you install the RPM files? What went wrong? And how did you "try to remove it the way you would if it was the correct installation"? What commands did you use for all of these, and did they give you any errors? What's the output of dpkg -l | grep openoffice? – Alaa Ali Jul 12 '13 at 18:02

You want to install aptitude first on your Ubuntu system. Run this command in Terminal to install aptitude.

    sudo apt-get install aptitude

Once that finishes, you can purge openoffice and remove it completely with this command:

    sudo aptitude purge

aptitude will remove all dependencies that were included with openoffice. This is why we are using this instead of 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.