How do I update to LibreOffice 5 ? (Resolved)

I am using mint 64bit 17.2 mate. How do I update LibreOffice to version 5 ?

Thanks in advance.

suppose the easiest thing is to go their website

https://www.libreoffice.org/download/libreoffice-fresh/?version=5.1.1&lang=en-US#change

Just noticed the above one is “fresh”, with the most recent features.

There`s also “still”, that has undergone more testing (over a longer time).
It is usually recommended for more conservative use.

https://www.libreoffice.org/download/libreoffice-still/.

I suppose you takes your pick.

Personally I stick with the one in the repos.

Would not be easier just to upgrade to Mint 17.3 anyway :wink:
I am on Mint 17.3 (Cinnamon) and it has LibreOffice Version: 5.0.3.2

Open a terminal and run these commands in sequence:

sudo add-apt-repository ppa:libreoffice/libreoffice-5-1

then

sudo apt-get update

then

sudo apt-get upgrade

Just to clarify is this (libreoffice-5-1) only for 64-bit distros? I’m thinking 32-bit Peppermint Six.

Nope, the PPA contains packages such as:-

libreoffice_5.1.1~rc2-0ubuntu1~[b]trusty[/b]0_[b]i386[/b].deb (3.9 KiB)

So it should work in Peppermint 6 32bit :wink:

Yes that worked after I’d spotted ‘then’ in the code :wink: and forced a refresh. Thanks, Mark! I’m now upgraded from 4.2.8.2 to 5.1.1.2.

You’re welcome Screagle :slight_smile:

Mark the upgrade did not work on my mint 64bit system.

Yes I noticed the “then” and removed it from the command and the new PPA is listed in my update manager.

I still have Version: 4.4.3.2 Build ID: 40m0(Build:2) Locale: en_GB

Okay it seems LO is pinned in 17.2 so can’t be upgraded from a PPA … but there is a way around it … run:

gksu gedit /etc/apt/preferences.d/libreoffice-libreoffice-5-1.pref

when a BLANK file opens, make it read

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

SAVE the file and exit gedit.

Now run:

sudo add-apt-repository ppa:libreoffice/libreoffice-5-1

then

sudo apt-get update

then

sudo apt-get upgrade

To Revert back to the original version (in Mint 17.2)

sudo apt-get install ppa-purge

then

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

Source (for the Pin-Priority info):
http://www.webupd8.org/2015/08/install-libreoffice-50-in-ubuntu-or.html

The upgrade still did not go through and so I took the plunge and upgraded to mint 17.3. It was a lot quicker then I thought and now I can enjoy the enhancements with office 5.

Thanks to all for there assistance.

Cool … dunno why they pinned stuff in 17.2 anyway ???