Pages

How To Install LibreOffice 3.4 in Ubuntu 11.04 Natty Narwhal (Including 10.10/10.04))?

After the little "corruption" :) that took place in the office productivity software suite called OpenOffice or the community in general, almost all GNU/Linux operating systems are now switching or already shipping LibreOffiice (one of the best office suite for GNU/Linux, already :D) with their distributions. Starting with the version 11.04 in Ubuntu and Fedora Core 15, instead of the old OpenOffice we have Libre!.

And the latest news is that they've updated and released LibreOffice to the version 3.4 few hours ago!. The most easily noticeable thing with this update is the start up time. Although you may not notice a huge difference since LibreOffice is certainly faster than the OpenOffice yet.. it is starting to speed things up :).

Anyhow, starting with the usual bug fixes (around 8000!, what a "bug")... the 3.4 version does bring some noticeable improvements such as...

*. New drop shadow/gradient is added to the Writer (the default writing app).

*. Improved compability with ODF.

*. A faster and stable graphic "engine" is introduced.


*. A new/redesigned copy/paste/edit sheet dialog box for Calc.

*. Improve HTML export with an image thumbnail gallery for the Draw/Impress.

*. Unity global menu initial support is added!.

*. Faster text rendering.


These are handful of new features in this 3.4 release to mention. And if you want to install LibreOffice 3.4 final version in Ubuntu 11.04 Natty Narwhal or 10.10/10.04 then you can add the below PPA to your system but they haven't released a the files yet, but I'm pretty sure you should be able to get it within the next few hours.

So open your Terminal and enter the below command which should install LibreOffice 3.4 in your Ubuntu OS when released (by the time you read this post, it could've been already released.. so try it).
sudo add-apt-repository ppa:libreoffice/ppa

sudo apt-get update
sudo apt-get install libreoffice
If you use Gnome classic desktop then use the below command afterward.
sudo apt-get install libreoffice-gnome
If you use KDE, then use the below one instead.
 sudo apt-get install libreoffice-kde

Manual installation of LibreOffice 3.4 (Ubuntu only) 

Note: All the below steps (from 1 to 11) are only required if you have installed LibreOffice software previously from the PPA or a manual installation. So, if you haven't done anything like that (let's learn Linux command line then :D) and have the system that comes with the Unity by default then use the below command and skip the first 5 "steps" and go the "6" th straight away.
sudo apt-get purge libreoffice-core

If you can't wait till they release the PPA of this amazing office suite for GNU/Linux (I totally understand :P) then you can manually install it.

1. First we have to remove the currently installed LibreOffice from Ubuntu. To do that, open your Terminal and enter the below command.
sudo synaptic
2. In the search box search for the below text.
libreoffice
3. Search for a package named "libreoffice3". Right click on it and choose "Mark for Complete Removal" and when prompted accept the additional changes.

4. Then scroll down until you see the above mentioned "libreoffice" package in Synaptic window and again right click on it and choose "Mark for Complete Removal". When asked, accept the additional changes.

5. Now click on the "Apply" button on Synaptic package manager and mark every single listed package for complete removal. And your current LibreOffice should be completely removed after that.

6. Now (not necessary but just reboot your PC, just in case) download the LibreOffice 3.4 .deb from here . If you use the 64-bit version, then get it from here. Now extract the content, say to your "desktop".

7. Open the extracted folder in Nautilus file manager (the folder should be called "LibO_3.4.0_Linux_x86_install-deb_en-US" ... or "LibO_3.4.0_Linux_x86_64_install-deb_en-US" for 64-bit version).

8. Now you should see a folder called "DEBS" in that extracted folder. Open that folder using your Terminal.

9. Then enter the below command in that opened Terminal window.

sudo dpkg -i *.deb

10. Now use the next command which will integrate the LibreOffice with your OS desktop (shortcuts, etc).
cd desktop-integration
11. Now the last part (if you're still with me :) ), use the below command which is the last of all commands :P.
sudo dpkg -i *.deb
Now you should have LibreOffice 3.4 installed in Ubuntu 11.04/10.10 and 10.04, at last, and have learned a bit about GNU/Linux in 10 minutes (no worries, I'm also one of those Dummies as well :D).

22 comments:

  1. It's 'gksudo synaptic', not 'sudo synaptic'.

    ReplyDelete
  2. @Anonymous,

    Thank you... but both gksudo and sudo work.

    It's just that with "gksudo" you can run programs with GUI in GNU/Linux with administrative privileges without having to open your terminal...

    But again thank you for your thought :).

    ReplyDelete
  3. Thank you very much!
    it works! :)

    ReplyDelete
  4. @Anonymous,

    The pleasure is all mine... thank you!.

    ReplyDelete
  5. Will all LibreOffice releases come to the Ubuntu PPA? I am asking, because the LibreOffice team announced their release strategy so that zero-releases (e.g. 3.4.) are less stable and for early adopters. Point releases such as 3.3.2 are more stable and for "production use". I would be definitively in favor of having every LibreOffice release in the PPA. Will it be like that? Will 3.4 come to the PPA? Thanks.

    http://blog.documentfoundation.org/2011/05/13/announcing-a-new-beta-release/

    ReplyDelete
  6. @Anonymous,

    Interesting read... I actually have never heard of it, so thanks for the link.

    But as far as I know 3.4 should come to PPA because, you already know this but gonna write it anyway :).

    PPA stands for "personal package archive"... so they aren't officialy repositories, which means that less stability is not a big issue, if I understand PPA correctly.

    So LibreOffice 3.4 should be available, I think. Thanks for the additional info.

    ReplyDelete
  7. Global menu doesn't work... Who knows how to enable it?

    Tank you for your article!

    ReplyDelete
  8. @Anonymous,

    Well yes, this is a known issue. Even though LO developers say the 3.4 has Global menu support, it doesn't work (or it is very buggy).

    But you can still enable it by using the lo-menubar extension. But do not install it using the "apt-get insall"... because lo-menubar will break 3.4 since it's originally designed to work with 3.3.

    But you can still get it to work by downoalding lo-menubar "extension" and installing it through LibreOffice.

    1. Frist dowload the package from below link.

    https://bugs.freedesktop.org/attachment.cgi?id=47502

    2. Now in LibreOffice go to: "Tools" -> "Extesions" -> "Add"

    and simply install the downloaded "lo-menubar.oxt" file through that window.

    Now you should have LibreOffice 3.4 with Global menubar.. hope this helped :D.

    Source = https://bugs.freedesktop.org/show_bug.cgi?id=37881

    ReplyDelete
  9. Thank you, it has helped! =)

    ReplyDelete
  10. mmm. has worked but i must say the icons in the launcher look really bad and fuzzy, is there any way around that?

    ReplyDelete
  11. 3.4 is still not in the PPA!

    ReplyDelete
  12. Yes there is neither 3.4 nor 3.3.3 in the PPA. Unfortunately.

    ReplyDelete
  13. Thanks but did not get Version 3.4 in the PPA.

    This is what I got "LibreOffice 3.3.3
    OOO330m19 (Build:301-301-202)
    tag libreoffice-3.3.3.1, Ubuntu package 1:3.3.3-1ubuntu1"
    So it upgraded LO from 3.2 to 3.3.3 (using Ubuntu 11.04)

    ReplyDelete
  14. @Anonymous,

    Yes... we may not be getting a PPA for this one since the 3.4x seems to be a "non production" release (see above comments)... so you'll have to manually install it.

    ReplyDelete
  15. There is actually a difference when using sudo vs gksudo. On rare occassions it's going to break your user settings/configuration files, such as .ICEeuthority file changed to root by using sudo. gksudo uses root's own files not the user's when runnning apps. That is why it is important to use gksudo when running GUI apps with escalated privilege. :)

    ReplyDelete
  16. @Marky,

    Hmm... I never knew that, thank you :D

    ReplyDelete
  17. Hi,

    I did
    sudo add-apt-repository ppa:libreoffice/ppa
    sudo apt-get update
    sudo apt-get install libreoffice

    But I got LibreOffice 3.3

    Is there a way to install 3.4?

    ReplyDelete
  18. @relgames,

    It's all in the post dude. Just follow the instructions after the sub heading called....

    "Manual installation of LibreOffice 3.4 (Ubuntu only)"

    If you want the most up-to-date version of LibreOffice (since it's like few months I wrote this post) then when you come the part that says download the archive pack, just use the below link

    http://download.documentfoundation.org/libreoffice/stable/3.4.3/deb/x86/LibO_3.4.3_Linux_x86_install-deb_en-US.tar.gz

    if you want the 64-bit version, then use the below one instead

    http://download.documentfoundation.org/libreoffice/stable/3.4.3/deb/x86_64/LibO_3.4.3_Linux_x86-64_install-deb_en-US.tar.gz

    ReplyDelete
  19. Wouldn't you also have to remove OOo or will it affect the installation of Libre Office?

    ReplyDelete
  20. @Anonymous,

    Yes, you should remove it before installing LibreOffice!.

    ReplyDelete
  21. I want to install LibreOffice on my ubuntu, thanks guide download and install it.

    ReplyDelete