How to Upgrade to LibreOffice 5.0 in Ubuntu, Linux Mint

August 5, 2015

LibreOffice 5.0

The Document Foundation finally announced the release of LibreOffice 5.0 and updated its PPA for Ubuntu 15.10, Ubuntu 15.04, Ubuntu 14.04, Ubuntu 12.04, and derivatives (e.g., Linux Mint 13/17, Elementary OS Freya/Luna).

What’s New in LibreOffice 5.0:

Below are the descriptions from its new features page. For more, see the release note.

LibreOffice 5.0 ships an impressive number of new features for its spreadsheet module, Calc: complex formulae image cropping, new functions, more powerful conditional formatting, table addressing and much more. Calc’s blend of performance and features makes it an enterprise-ready, heavy duty spreadsheet application capable of handling all kinds of workload for an impressive range of use cases.

New icons, major improvements to menus and sidebar: no other LibreOffice version has looked that good and helped you be creative and get things done the right way. In addition, style management is now more intuitive thanks to the visualization of styles right in the interface.

LibreOffice 5 ships with numerous improvements to document import and export filters for MS Office, PDF, RTF, and more. You can now timestamp PDF documents generated with LibreOffice and enjoy enhanced document conversion fidelity all around.



How to upgrade to LibreOffice:

For all current Ubuntu releases and based systems, the best way is to upgrade LibreOffice 5.0 through the official PPA.

1. Open terminal from the Dash, Launcher, or via Ctrl+Alt+T shortcut keys. When it opens, run command to add PPA:

sudo add-apt-repository -y ppa:libreoffice/ppa


2. After that, open Software Updater/Update Manager and install all updates for LibreOffice after checking for updates, though the new packages named with ~rc5:

upgrade libreoffice 5.0

As the PPA description says “This PPA might contain the release candidate that is assumed to become the final release even before it is declared so by the Document Foundation (e.g. usually release candidate 2 for minor updates).”

Or you can run below commands to do the upgrade process after adding the PPA:

sudo apt-get update; sudo apt-get install libreoffice

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to

18 responses to How to Upgrade to LibreOffice 5.0 in Ubuntu, Linux Mint

  1. Why, on my Linux Mint 17.2 does adding the LO ppa do nothing? I did all the commands above, and the “apt-get install libreoffice” merely installed some new fonts – I STILL have…

    • If you already have a version of Libre Office installed you should remove it first by opeining up a Terminal and entering at least the first command below but if you want to be thorough you can also purge the files completely by entering the second command.

      To remove prior installations of LibreOffice:

      .sudo apt-get remove libreoffice-core

      If you also want to remove LibO configuration files, use the purge switch:

      .sudo apt-get remove –purge libreoffice-core

    • Go with Ubuntu 16.04 m8, mo problems whats so ever there… ;)

  2. This won’t work, because packages are not (jet) in the system repos.
    To fix this You need a packages priority change.
    Just create a file:
    next edit it:
    sudo nano /etc/apt/preferences.d/libreoffice.pref
    and add those lines:
    Package: *
    Pin: release o=LP-PPA-libreoffice
    Pin-Priority: 700
    save changes, close the file and reload your repos list:
    sudo apt-get update
    Now You can upgrading LO to 5.x version:
    sudo apt-get upgrade

  3. Thanks! It worked perfectly on my Mint 17.
    Now I will have a look to this version of LibreOffice.

  4. Thank you for that. It all upgraded perfectly and works well. The new version certainly looks more professional – let’s hope it will soon be completely compatible with M$ Office.

  5. Just followed you instructions and it worked thanks very much .

    Just started with Linux and its great

  6. Thank you so much Ji! It was very useful! keep going with your project. Congratulations!

  7. Thanks for this. The libreoffice.pref did not exist on my Linux Mint 17.2 PC. I already had the first update installed manually. Creating the libreoffice.pref file allowed an update to 5.0.2.

  8. The previous version of LibreOffice was not removed. Perhaps you could suggest how to do this at the same time as the new ppa install.

    • Worked great! I had to uninstall the previous version through Lubuntu Software Center (I’m running Lubuntu 15.04) on mine. Thanks!

  9. This does not work for me. I’m using Linuxmint 17.2 Cinnamon. After making more search, I get this one ( Hope that it’ll help someone else.

  10. To give positive feedback: worked perfectly for me!

    using ubuntu 15.10 and Gnome 3.x plus libreOffice 5.0.2.

    libreoffice would cause a 30% and + CPU load permanently just after openening an .odt of more than say 50 pages.

    execute the two above given commands in a shell.

    updates to and no more cpu load with the same .odt file.

    many thanks and greetings!

  11. i was do this
    add-apt-repository -y ppa:libreoffice/ppa
    and this
    apt-get update; apt-get install libreoffice

    but i get the problem like that…

    The following packages have unmet dependencies:
    libreoffice : Depends: python3-uno (>= 4.4.0~beta2) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

    what is that mean?

  12. eMcE: Was looking for an upgrade solution this AM, found your post. Worked perfectly.

    Many thanks!