Aug 10, 2015

Install LibreOffice 5.0 In Ubuntu Or Linux Mint Via PPA

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.

LIbreOffice 5.0

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".

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.

The LibreOffice Fresh PPA notes that while the PPA has only experienced minor testing and it's not for the average user, it is "way better to use packages from this PPA than using the *.deb files that The Document Foundation provides upstream, which are intentionally build against a very old baseline for maximum compatibility".

Furthermore, by using the PPA, you can 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 Fresh PPA provides LibreOffice 5.0 RC5 which is very close if not identical to the final release.

To add the PPA and upgrade to the latest LibreOffice 5.0 in Ubuntu 15.04, 14.04 or 12.04 / Linux Mint 17.2, 17.1, 17 or 13, use the following commands:
sudo add-apt-repository ppa:libreoffice/ppa
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
To change the icon theme in LibreOffice, go to Tools > Options > LibreOffice > View and set the icon style to 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/ppa

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/ppa

Or, for Linux Mint 13 (based on Precise), use:
sudo ppa-purge -d precise ppa:libreoffice/ppa

via Web Upd8 - Ubuntu / Linux blog