LibreOffice-4-2 PPA for Ubuntu 12.04 / 13.10 - How to install - Tutorial

Hi,

I see many web sites are suggesting to install LibreOffice 4.2 by adding a ppa:libreoffice/ppa to Ubuntu 12.04 or Ubuntu 13.10, but this PPA is LibreOffice unstable and alfa, beta and release candidates will land in this PPA. So unstable repository that most of the users probably don’t want to have. Install LibreOffice 4.2.x from above PPA only if you would like to test alfa, beta, release candidates etc.




Install LibreOffice 4.2.x stable (including stable fix releases) then do the following (in Terminal):

(1) Add LibreOffice 4.2 PPA:

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

(2) Update repository:

sudo apt-get update

(3) Install LibreOffice 4.2:

sudo apt-get install libreoffice

Hope this helps.
Regards

How to uninstall a previous version, also would be good.

You don’t need to uninstall previous version, just add PPA and LibreOffice will get updated.

this does NOT install on my server – giving me these errors
Failed to fetch http://…ubuntu.com/…/libreoffice/…deb 403 Forbidden

If you have installed Libre Office 3.x the step 3 must be replaced with this instruction:

sudo apt-get dist-upgrade

Now with the release 4.3 you also can use the the newest PPA, so the first command is replaced with this:

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

I tested it with Ubuntu 12.04 x64 and works OK.

It woks perfect for me. Thanks!

Thats not true: alphas and betas land in the libreoffice-prereleases PPA at https://launchpad.net/~libreoffice/+archive/libreoffice-prereleases/+packages only. And release candidates might land in both the generic ppa and the -4-2 ppa as described on https://launchpad.net/~libreoffice/+archive/ppa. Actually most releases are copied to both ppas at the same time.

The difference between the generic PPA and the libreoffice-4-2 PPA is that the generic PPA will see a LibreOffice 4.3.0 final version some day, while libreoffice-4-2 will never have a version higher as 4.2 and thus make no change in the major version.