Upgrade to LibreOffice 4.4 from PPA on an Ubuntu 14.04-based distro

6 Jul

[This post is based on an older one, but I thought it would be worth publishing an updated version.]

With version 4.4.4 of LibreOffice recently released, and the 4.3 branch having reached its end of life a while ago, you might want to upgrade your office suite. It is a good idea anyway, knowing that the 4.3 branch will not receive any more security updates officially delivered by The Document Foundation, and the 4.4 branch already integrates extra bug fixes. Plus, it comes packed with an array of exciting changes, including improvements to track changes (Writer), many toolbar improvements, better auto-correct, an enhanced statistics wizard (Calc), colour support in Math, new fonts, new import filters, improved OOXML support, new colour selector, better start centre, a few reworked drop-down menus, more intuitive context menus, and heaps more. Phew!

I have noticed in previous attempts that when I change the LibreOffice PPA I use, I end up still using the older version even though I have upgraded the packages.

Here is how to upgrade to a more recent branch properly.

You can find all the LibreOffice PPAs on this page. In my example, we will upgrade from the 4.3 PPA to the 4.4 PPA, but you can easily replace the version numbers by the ones that suit you. Of course, if you were not using a PPA, just omit the first step.

You will first need to remove the old PPA. You can do that by using your corresponding GUI: for example, in stock Ubuntu, go into “Software and Updates” in your system settings and delete it in the “Other software” tab; in Kubuntu or KXStudio, got to the Muon Update Manager and navigate to “Advanced > Configure software sources” to find it. Another quicker option is to open the terminal straight away (ctrl + alt + T) and use the “–remove” flag, with the following command:

sudo add-apt-repository --remove ppa:libreoffice/libreoffice-4-3

You can now add the new PPA with the following command:

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

Then you need to uninstall entirely LibreOffice with the following command:

sudo apt-get purge libreoffice*

Make sure you update the repository information now that you have a new PPA:

sudo apt-get update

And finish with installing LibreOffice:

sudo apt-get install libreoffice

And you should be right!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: