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.

Installing LibreOffice manually on Ubuntu 12.04 works great following the advice in this answer: http://askubuntu.com/a/182602/103893

It basically is a matter of downloading the most recent release from the LibreOffice site and running sudo apt-get remove libreoffice-core and sudo dpkg -i *.deb.

Doing the above I installed LibreOffice 3.6.3 and it works great.

But what is the best way to uninstall this new version of LibreOffice (for when the next release is coming along)?

Trying sudo apt-get remove libreoffice-core will not do anything, and sudo apt-get remove libreoffice3.6 does not seem to remove all packages installed with dpkg...?

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

I just went through the same procedure as you and I did so by following the LO FAQ post on uninstalling previous version of community supplied packages.

The steps outlined in the FAQ require Synaptic Package Manager. You can install it with:

sudo apt-get install synaptic

From the FAQ:

Once you have ensured that Synaptic is installed on your system, proceed as follows to de-install an existing installation of LibreOffice:

  1. Launch the Synaptic Package Manager.

  2. Click in the Search box.

  3. Enter the string “libreoffice”. You may need to click on the “Search Results” button before you see this filtering string applied.

  4. This search will display a list of matching packages. In this list, there will be one package named simply “libreoffice3”. Right-click on that package name and, in the context-sensitive menu that opens, choose “Mark for Complete Removal”.

You will be prompted to accept the marking of a number of additional changes. Accept these additional changes.

In the packages list, scroll down until you see the first package that is not yet marked for removal. Right-click on that package name and, in the context-sensitive menu that opens, choose “Mark for Complete Removal”.

Do the same for the next package. You will be prompted to accept the marking of a number of additional changes. Accept these additional changes.

Continue right down to the bottom of the list and mark every single listed package for complete removal.

share|improve this answer
    
Thanks, MHC. I did not think of using Synaptic for that. –  user1768076 Nov 2 '12 at 15:39
add comment

I also just installed version 3.6.3 from the libreoffice website. Before installing with I purged the old files & libraries with this command:

sudo apt-get purge libreoffice*

edit: you also probably want to do this, too, before installing

sudo apt-get autoclean

and

sudo apt-get autoremove
share|improve this answer
add comment

Your Answer

 
discard

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.