Install LibreOffice 5.0 in Linux Mint via 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:

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


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

Lastly start Mint Software Manager and install LibreOffice