I just saw that Libreoffice 5.2.2 is released. I have download the .taz.gz DEB files. Now I need to know how to upgrade it. I'm using Ubuntu 16.04.

Should I run the command:

sudo apt-get remove --purge libreoffice

Also after that how do I install all the DEBs?


Linux (x64) DEB version.


First remove your old version

sudo apt-get remove --purge libreoffice*

I am going to assume that you have the file in your Downloads folder, if not, please change to the correct folder.

In a terminal change to Downloads and then extract the package

cd ~/Downloads
tar -xvzf LibreOffice_5.2.2_Linux_x86-64_deb.tar.gz

This will make a folder called LibreOffice_5.2.2.2_Linux_x86-64_deb/DEBS, so now change to that folder

cd LibreOffice_5.2.2.2_Linux_x86-64_deb/DEBS

Now we can install all those debs with this command

sudo dpkg -i *.deb
  • If this work for you, please click the checkmark on the left, to allow users to identify this was the correct answer :) You are welcome. – Mark Kirby Sep 29 '16 at 16:25
  • There is also a PPA. – fkraiem Sep 29 '16 at 16:42
  • @fkraiem You mean this launchpad.net/~libreoffice/+archive/ubuntu/… Yes but I was hesitant to suggest it because I don't know what will happen when the version moves to full release, I could not find the information and did not want to suggest something that may be a problem down the line. – Mark Kirby Sep 29 '16 at 16:45
  • Yes, that's the one. Not sure what you mean by "when the version moves to full release"; packages for 5.2.2 release are not available yet, but they should be available shortly, and then those who have installed the 5.2.2-rc1 packages will get them as an upgrade. – fkraiem Sep 29 '16 at 16:49
  • 1
    TY for instructions I'll try it tonight. +1 on your path to 10k club :) – WinEunuuchs2Unix Sep 29 '16 at 17:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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