LibreOffice 5.0 was released last week and it includes numerous changes, such as UI improvements, better HiDPI support, new icon theme by KDE called Breeze, much improved Spreadsheet, better filters for documents and more. For a complete list of changes, see THIS page.

According to the Document Foundation blog, the latest LibreOffice 5.0 is the "cornerstone of the mobile clients on Android and Ubuntu Touch, as well as the upcoming cloud version".









Installing LibreOffice via PPA and not by using the official *.deb files is the recommended way of installing/upgrading LibreOffice in Ubuntu (as stated

In Ubuntu, Linux Mint and derivatives, the latest LibreOffice 5.0 (Fresh) can be installed either by using a PPA or by downloading and installing the official LibreOffice debs.Installing LibreOffice via PPA and not by using the official *.deb files is the recommended way of installing/upgrading LibreOffice in Ubuntu (as stated here ) because the .deb files provided by The Document Foundation are intentionally built against a very old baseline for maximum compatibility.





Furthermore, by using the PPA, you can automatically get updates as well as easily go back to the LibreOffice version available in the official Ubuntu repositories if for some reason you're not satisfied with the new release, by using PPA Purge.





Below you'll find instructions on how to install LibreOffice in Ubuntu or Linux Mint via PPA as well as how to purge the PPA in case you want to go back to the LibreOffice version you were using before adding this PPA.

Install LibreOffice 5.0 in Ubuntu Or Linux Mint via PPA

At the time I'm writing this article, the LibreOffice 5.0.x PPA provides LibreOffice 5.0.0 RC5 which is identical to the final release.



Linux Mint 17.2 only: LibreOffice is pinned in Linux Mint 17.2 and can't be upgraded by using a PPA. To be able to update LibreOffice to version 5.0 via PPA, you need to create a file called "libreoffice-libreoffice-5-0.pref" under /etc/apt/preferences.d/ - to do this automatically, use the following command:

gksu gedit /etc/apt/preferences.d/libreoffice-libreoffice-5-0.pref and in this file, paste this:

Package: * Pin: release o=LP-PPA-libreoffice-libreoffice-5-0 Pin-Priority: 701

Then save the file and continue with the instructions below.



LibreOffice is pinned in Linux Mint 17.2 and can't be upgraded by using a PPA. To be able to update LibreOffice to version 5.0 via PPA, you need to create a file called "libreoffice-libreoffice-5-0.pref" under- to do this automatically, use the following command:and in this file, paste this:Then save the file and continue with the instructions below.

To add the LibreOffice 5.0.x PPA and upgrade to the latest LibreOffice 5.0 in Ubuntu 15.04, 14.04 or 12.04 / Linux Mint 17.2 (after following the steps above), 17.1, 17 or 13, use the following commands:

sudo add-apt-repository ppa:libreoffice/libreoffice-5-0 sudo apt-get update sudo apt-get dist-upgrade

If you want to try the new Breeze LibreOffice icon theme (which you can see in the screenshot above), install it by using the following command:

sudo apt-get install libreoffice-style-breeze

How to revert the changes

If you don't want to continue using LibreOffice 5.0, you can downgrade it to the previous version available in the repositories by using PPA Purge. To do this, firstly install PPA Purge:

sudo apt-get install ppa-purge

Then, purge (this will disable the PPA and downgrade the packages installed from this PPA) the PPA using the following command:

sudo ppa-purge ppa:libreoffice/libreoffice-5-0

For Linux Mint, you'll have to specify the Ubuntu codename because PPA Purge doesn't officially support it. So for Linux Mint 17, 17.1 and 17.2 which are based on Ubuntu 14.04 Trusty Tahr, use the following command:

sudo ppa-purge -d trusty ppa:libreoffice/libreoffice-5-0

sudo ppa-purge -d precise ppa:libreoffice/libreoffice-5-0

To change the icon theme in LibreOffice, go toand set the icon style to Breeze.Or, for Linux Mint 13 (based on Precise), use: