How to install libreoffice in ubuntu using deb packages

LibreOffice is a productivity suite that is compatible with other major office suites, and available on a variety of platforms. It is free software and therefore free to download, use and distribute.This is openoffice fork.

Note:- This is still in beta stage so don't install in production systems

Install libreoffice in ubuntu

Before installing libreoffice you need to remove open office using the following command using the terminal

sudo apt-get remove --purge openoffice*.*

Note:- Removing openoffice is optional you can run openoffice and libreoffice side by side

First you need to download libreoffice tar.gz file from here

Once you downloaded you can extract this file by right click on it and select extract here now you should be having en-US folder inside this you should be able to see DEBS folder.Installing all these deb files are easy from command line so open the terminal and run the following comamnd

sudo dpkg -i ~/Desktop/en-US/DEBS/*.deb

Finally you need to install desktop integration deb package using the following command

sudo dpkg -i ~/Desktop/en-US/DEBS/desktop-integration/libreoffice3.3-debian-menus_3.3-9526_all.deb


Sponsored Link

You may also like...

13 Responses

  1. desgua says:

    Thank you very much!
    I was trying for a couple of hours with no results and this solve the problem.
    Best regards.

  2. Dgill says:

    I have heard about libre office from my friend’s blog. I think I should let it release the stable version before I install it on my ubuntu

  3. Shiv says:

    thank you for the guidance

  4. shirish says:

    Hi there,
    Just a tad difference. With beta 2 being released. the second one should read as

    $ sudo dpkg -i ~/en-US/DEBS/desktop-integration/libreoffice3.3-debian-menus_3.3-1_all.deb

    instead of 3.3-9526 . Please update that in the main post.

  5. leeper says:

    I’m new to linux/ubuntu and tried to install libre, I downloaded it, extracted to desktop, and followed the sudo dpkg -i ~/Desktop/en-US/DEBS/*.deb in the terminal I get the following:

    dpkg: error processing /home/leeper/Desktop/en-US/DEBS/*.deb (–install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:

    Any idea as to what I am doing wrong?
    Thanks in advance for the help.

  6. Johannes says:

    @ Leeper:
    You have to adapt the command to the directory where you extracted the archives.

    (It’s probably not “en-US”)

    Use the TAB key to auto-complete the command line.

    More infos here:

  7. Hansi says:

    Why the heck you don’t read readme.txt after you downloaded and extracted LibreOffice? The installation is easy, just 1 command in terminal needed.

  8. tony says:

    Many Many thanks, as a newbee I could’ent understand the readme.txt, but this worked great, just simplified it by putting each of the debs folders direct to desktop and went:

    sudo dpkg -i ~/Desktop/debs/*.deb

    Now thanks to you I know how to install any deb package from the desktop.

  9. Tbyrd says:

    I have Ubuntu 10.04 and am using OpenOffice 3.2; I just downloaded LibreOffice and want to install but I don’t want to erase my OpenOffice. If I install LibreOffice will it leave my OpenOffice alone?

  10. Elsewares says:

    One note to anyone new to this sort of thing: make sure the .deb files are executable as well. I had this issue.

    In the directory where all the .deb files are:

    chmod a+x *.deb

  11. CeL says:

    What tony says… again, thank you!

  12. pdiddly says:

    If removing Open Office is OPTIONAL then users do not NEED to remove it, right? Some people will surely gloss right over the note provided, as such, this point could definitely be made more clear since, as-is, it’s presented contradictorily.

  13. Jirka says:

    Great – 100% functionality

Leave a Reply

Your email address will not be published. Required fields are marked *