oio11: (Default)
[personal profile] oio11
I want to download and install LibreOffice 4. How can I do this?
shareimprove this question
1
If you want to try a new LO version out before installing it, here's a nice tutorial. You might want to make a backup of your LO configuration files first, though (~/.config/libreoffice).Glutanimate Feb 9 at 8:27
1
From the answers below, it seems there are 4 options: 1) uninstall your existing LO and then download and manually install the latest LO; 2) use the "rather unstable" pre-releases ppa; 3) use the new "not-so-stable" libreoffice-4-0 ppa; and 4) wait for a more stable ubuntu package to be ready in the main libreoffice ppa. Therefore, it might be useful to hear from the experiences in categories 1, 2 and 3.Sadi Mar 8 at 8:46
@Sadi I used my method to install it and it worked just fine. I've had no issues what so ever, though I must admit I don't tinker with it, just use the default setup for the most part.Seth Mar 8 at 23:43

4 Answers

up vote 26 down vote accepted
As of today (4 March 2013) you can simply use the Libreoffice 4.0.x ppa from the libreoffice packaging team, which offers stable backports for Precise (12.04), Quantal (12.10), and Raring (upcoming, 13.04).
Note: if you rely on libreoffice for work or school you may not want to risk updating, even though the backports provided are largely stable.
sudo add-apt-repository ppa:libreoffice/libreoffice-4-0 sudo apt-get update sudo apt-get dist-upgrade 
Obviously, if you don't already have libreoffice installed, you will also need to run
sudo apt-get install libreoffice 
It should be noted that this ppa will only produce updates for the 4.0.x series, while the main libreoffice ppa will provide updates beyond the 4.0.x series, although that ppa is largely for testing and development builds. However, the builds from the 4.0.x ppa should be stable backports, although it is noted that they have not received a great deal of testing.
For more information, see this very recent useful article on libreoffice 4, and the getting started guide at the official documentation site.
shareimprove this answer
1
Using this new PPA, upgrade from 3.6 to 4.0 went very well (Ubuntu 12.10 64-bit) and the applications seems very stable with noticeable performance improvements. I only had to re-install several extensions, rename several macros added to the Format menu and rename a custom menu back to Macros. Upvoted!Sadi Mar 8 at 9:53
@Sadi Yes, the upgrade went smoothly for me as well; this ppa from the libreoffice team does provide stable backports with several Ubuntu tweaks included.Mik Mar 8 at 17:47
Adding deb http://ppa.launchpad.net/libreoffice/libreoffice-4-0/ubuntu precise main and deb-src http://ppa.launchpad.net/libreoffice/libreoffice-4-0/ubuntu precise main to my software sources brought up the "Not all updates can be installed" message. Just in case that's of interest to anyone...nutty about natty Mar 24 at 19:30
1
@nuttyaboutnatty I see now. I usually do it all using the command-line, but you can sometimes get errors. Usually ppa-purge is a good way to correct them. I answered a question the other day relating to Libreoffice 4 installation issues.Mik Mar 24 at 19:41
1
It is worth mentioning that if you don't have the previous version of LibreOffice installed on your system, additionally to the commands mentioned by Mik, you also need to run the following one: sudo apt-get install libreofficeKrige Apr 17 at 10:30
show 2 more comments
Start by downloading it:
I recommend the torrent for faster download speed and for slow connections.

To install LibreOffice 4 you will need to remove all previous versions. Run:
sudo apt-get remove --purge libreoffice-core libreoffice-common sudo apt-get autoremove --purge 
Note: I'm not 100% sure this will remove all of LibreOffice. If you experience any errors later, please let me know.

Extract the files:

  1. cd to the Downloads directory:
    cd Downloads   
  2. Extract the tar.gz:
    For 64 bit:
    tar -xvzf LibreOffice_4.0.0_Linux_x86-64_deb.tar.gz    
    For 32 bit:
    tar -xvzf LibreOffice_4.0.0_Linux_x86_deb.tar.gz 

Install the program:

  1. cd to the programs folder:
    For 64 bit:
    cd LibreOffice_4.0.0.3_Linux_x86-64_deb/DEBS   
    For 32 bit:
    cd LibreOffice_4.0.0.3_Linux_x86_deb/DEBS 
  2. Install part one (for both 32 and 64 bit):
    sudo dpkg -i *.deb 
  3. Install the desktop integration (again for 32 and 64 bit):
    cd desktop-integration   sudo dpkg -i *.deb   
You're done! You can now remove both the LibreOffice_4.0.0.3_Linux_x86_deb directory and the LibreOffice_4.0.0_Linux_x86-64_deb.tar.gz tarball:
rm ~/Downloads/LibreOffice_4.0.0.3_Linux_x86_deb  rm ~/Downloads/LibreOffice_4.0.0_Linux_x86-64_deb.tar.gz 
Go add the re-add the applications to your launcher!
Some Kubuntu users will need to run this command to fix how LibreOffice4 looks in KDE:
sudo mv /opt/libreoffice/ure/lib/libstdc++.so.6 /opt/libreoffice/ure/lib/libstdc++.so.6.old 
shareimprove this answer
5
Confirmed to work.FEichinger Feb 10 at 22:06
@Seth could you please provide instructions on how to remove the libreoffice directory from terminal?Lionthinker Feb 13 at 9:53
@Lionthinker done.Seth Feb 14 at 2:21
Clicking on the link to download .tar.gz files for both 64-bit or 32-bit gives my Object not found errors? Can anybody confirm whether the server is down or something else?Jobin Feb 22 at 12:35
@Jobin They work just fine for me. Perhaps you could try again?Seth Feb 22 at 17:18
show 2 more comments
You can install the beta packaged for Ubuntu from the LibreOffice pre-releases ppa:
https://launchpad.net/~libreoffice/+archive/libreoffice-prereleases
shareimprove this answer
Instructions are on this Web Upd8 article: LibreOffice 4.0 Available For Download.
Differs from Seth's answer only in copying the desktop integration .deb from one location to another before the dpkg command.
shareimprove this answer
http://askubuntu.com/questions/252612/how-do-i-install-libreoffice-4

LibreOffice Pre-Releases

PPA description

This ppa contains alpha and beta release (before the 3.X.0/4.X.0 release). Only for the most brave and courageous!

to test these do:
sudo apt-get purge libreoffice-core
sudo add-apt-repository ppa:libreoffice/libreoffice-prereleases
sudo apt-get update
sudo apt-get install libreoffice


https://launchpad.net/~libreoffice/+archive/libreoffice-prereleases

(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

July 2025

S M T W T F S
  12345
6789101112
1314151617 1819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 27th, 2025 07:36 pm
Powered by Dreamwidth Studios