How to install LibreOffice 5.0 in Ubuntu?

Libreoffice 5.0 was just released.

tried

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

But cannot add PPA: ‘ppa:~libreoffice/ubuntu/libreoffice-5-0’. The team named ‘~libreoffice’ has no PPA named ‘ubuntu/libreoffice-5-0’

Try this ppa

sudo add-apt-repository ppa:libreoffice/ppa

and then

sudo apt-get update
sudo apt-get dist-upgrade

I’ve got two machines - both 64 bit and both running Linux Mint 17.2, both updated fully. I ran that code on one, now I have LO 5.0. I ran the same code on the other, nothing. It’s still got 4.4.3.2.
Any thoughts as to why that’s happened?

@Gordonbp try
sudo add-apt-repository -y ppa:libreoffice/ppa

@Kunjomachen no, still nothing…:frowning:

It worked perfectly for my as in the answer, no modifications needed… i’m running Ubuntu 14.04 LTS, 9.7 GiB,Intel® Core™ i7 CPU Q 720 @ 1.60GHz × 8, GeForce GT 330M/PCIe/SSE2, 64-bit, 619.5 GB

I work under an ancient Debian & install direct from LibreOffice:-
https://www.libreoffice.org/download.

I therefore do not blame you in the least for using a Repository!

My search for an Ubuntu ‘ppa:libreoffice’ repo brought up:-
https://launchpad.net/~libreoffice/+archive/ubuntu/ppa

…but their command line install is different to the one that you used:-

sudo add-apt-repository ppa:libreoffice/ppa

(remember that you are installing their PPA to your system with this command, and not installing the program)

If you wanted to add the PPA manually, then you would add the following to the file “sources.list” (replacing ‘YOUR_UBUNTU_VERSION_HERE’ with, for example, ‘vivid’):-

deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main 
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main

After this is all successfully installed you can discover the programs available to install + install the ones that you want.

If this helps then please tick the answer (:heavy_check_mark:).

I have downloaded the package. Extract it and read the readme file - there is a instruction to help you install LibreOffice 5.0 on your Ubuntu - I’ve tested on my Ubuntu 14.04. It works perfectly.