How to Install LibreOffice in Ubuntu 10.04, 10.10 and 11.04?

Do you want to install LibreOffice and make it your primary office suite instead of OpenOffice in Ubuntu 10.04, 10.10 and 11.04? Here’s a quick tutorial that will teach you how to install the new LibreOffice open source office suite and replace the old OpenOffice.org office suite. Natty Narwhal (11.04) and later versions comes bundled with LibreOffice out of the box.

However, the LibreOffice office suite package is also available for Ubuntu 10.10 (Maverick Meerkat) and Ubuntu 10.04 LTS (Lucid Lynx) users. There are two ways to install, you can either remove OpenOffice completely and install or you can add the LibreOffice PPA and test it. Adding the LibreOffice PPA only won’t affect OpenOffice.

Update: You’ve to remove OpenOffice first and then install LibreOffice. Thanks to MTG readers Kent and Fabio for bringing it to my notice.

How to remove OpenOffice.org?

Open the terminal and type the following command:

sudo apt-get purge "openoffice*.*"

You will be asked for your password, type your password and press the Enter key on your keyboard to continue. When asked, “If you want to remove the OpenOffice.org package,” type “Y” and press the Enter key. Wait for the OpenOffice.org packages to be removed.

How to add the LibreOffice PPA repository?

To add the PPA, add ppa:libreoffice/ppa to your software sources or open the terminal and type the following command:

sudo add-apt-repository ppa:libreoffice/ppa

You will be asked for your password, type your password and press the Enter key on your keyboard to continue.

How to install LibreOffice?

Open a new Terminal session and run the following commands:

sudo apt-get update && sudo apt-get install libreoffice

You will be asked for your password, type your password and press the Enter key on your keyboard to continue.

Now, Ubuntu users should run the following command:

sudo apt-get install libreoffice-gnome

Kubuntu users should run the following command:

sudo apt-get install libreoffice-kde

That’s it! LibreOffice is now completely installed in your Ubuntu machine. If you have any problems, do not hesitate to comment below!

About Mezanul

SK Mezanul Haque is the founder of MyTechGuide.org (popularly known as My Technology Guide). He is passionate about all things tech.

Facebook | Google+ | LinkedIn | Twitter

Comments

  1. Simonas says:

    After installing libreoffice i can’t update ubuntu, and it is written that libreoffice has some problems:) So, what to do, becouse i really like libreoffice:) .

  2. Mezanul says:

    Please provide us the details of the error that you are receiving? Did you followed the exact steps as given above?

    Add the PPA and install LibreOffice:
    sudo add-apt-repository ppa:libreoffice/ppa
    sudo apt-get update
    sudo apt-get install libreoffice
    For GNOME integration:
    sudo apt-get install libreoffice-gnome
    or for KDE Integration:
    sudo apt-get install libreoffice-kde

  3. Chuq says:

    Ok I followed your instructions for installing Libreoffice-gnome because I am in Ubuntu 10.04 and this is the message that I received:

    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    libreoffice-gnome: Depends: libreoffice-core (= 1:3.3.1-1ubuntu3~lucid2) but it is not going to be installed
    Depends: libreoffice-gtk but it is not going to be installed
    E: Broken packages

    Some help with this would be much appreciated!

    • Mezanul says:

      Try using the command sudo apt-get update again and then installing LibreOffice: sudo apt-get install libreoffice
      After completing the installation, use the command sudo apt-get install libreoffice-gnome.

      Hope this will solve the problem. If you still get any error, reply back to us.

      • Kent Smith says:

        This fix suggested by Mezanul doesn’t work for me at all, and I’ve tried it several times, rebooting after each, etc. I always get this message:

        The following packages have unmet dependencies:
        libreoffice: Depends: libreoffice-core (= 1:3.3.2-1ubuntu2~lucid1) but it is not going to be installed
        Depends: libreoffice-writer but it is not going to be installed
        Depends: libreoffice-calc but it is not going to be installed
        Depends: libreoffice-impress but it is not going to be installed
        Depends: libreoffice-draw but it is not going to be installed
        Depends: libreoffice-math but it is not going to be installed
        Depends: libreoffice-base but it is not going to be installed
        Depends: libreoffice-report-builder-bin but it is not going to be installed
        Depends: libreoffice-filter-mobiledev but it is not going to be installed
        Depends: libreoffice-java-common (>= 1:3.3.2~) but it is not going to be installed

        On my main computer Libreoffice installed without a hitch. On my new Compaq laptop, with a brand new installation of Ubuntu (10.04), it always fails.
        Any thoughts?

        • Kent Smith says:

          Shortly after sending this cry for help, I came upon the solution. Hope this is useful for a few other folks. In order to successfully install Libreoffice it appears you need to remove Openoffice. In the terminal enter:
          sudo apt-get purge “openoffice*.*”

          Then, if you haven’t already done it, enter:
          sudo add-apt-repository ppa:libreoffice/ppa

          Finally, enter:
          sudo apt-get update && sudo apt-get install libreoffice

          BTW, there are people who say, if you’re in a Ubuntu environment, you should end by entering:
          sudo apt-get install libreoffice-gnome

          I did, but I couldn’t tell any difference.

          • Fabio says:

            Just like Kent, I have Ubuntu 10.04 and I found that the only way to install libreoffice was to get rid of openoffice first. After that, it all ran smoothly. Maybe Mezanul want to add a note to the post?

          • Mezanul says:

            Thanks Kent for bringing it to my notice. I should’ve removed the fact that LibreOffice can be installed along with OpenOffice long ago. Thanks to Fabio too. :)

  4. Dave Sharpe says:

    I found a number of web pages that attempted to describe doing this. I’m somewhat new to linux and I found yours to be the easiest for me to understand.

    Thanks

    Dave

  5. federico says:

    first i remove one by one the open office programs, then i follow the intructions and i write sudo etc, and i got: E:Unable to locate package libreoffice
    i continued and tried the next instruction sude ettc and the last message was
    E: unable to locate package libreoffice-kde

    any help will be appreciate

  6. federico says:

    maverick 1010. I fixed ! i did not realized that i download both the one for kubuntu and ubuntu too. i started again and the system ask me to be root and after i got that from an ubuntu forum i download everything with out problem.
    when i did in my laptop i did not want to remove openoffice but it happened. does not matter because is running ok so far.
    anyways with out your easy explanation i could not do it. i was reading many sites and forum but i did not get because i find that is for IT people and i am not this people. THANKS A LOT . by the way any clue about problems with the internet connection from the thinkpad lenovo. every 5 times i start the computer i have to reboot many times until the desktop show that is connected.

    • Mezanul says:

      I am happy you got it fixed. :)

      Thanks for your kind words. It inspires me and acts like a fuel to carry on my work. :)

      Regarding your problem with the internet connection, may I know what type of connection you are using to connect? I mean is it DSL (broadband), dial-up or you use any type of dongle to connect?

  7. federico says:

    i m bell customer and the speed is 100 mbs ethernet interface. i m not sure. probably is dsl
    is autoetho
    one time i saw someone complaining the same as me but i lost the clue. i remember that problem was related to internet and lenovo r61i same as mine
    because i install the same in an all computer and never has a trouble. NEVER ???

    • Mezanul says:

      Ok, I will need some time to get a solution for your problem.. Though I can’t promise anything at this moment since I don’t have Bell service here, but I will try to find a solution asap.

      Will mail you if I get a solution. :)

  8. federico says:

    thanks you so much.
    i was considering switch from bell to other more economic but and better service but i m not sure about the connection with ubuntu.

  9. William LaRaowe says:

    My office suddenly stopped working. would not load writer. would not open documents. I followed your instructions implicitly and libreoffice will still not run?

    • Mezanul says:

      Goto your home directory press ctrl+h to show hidden files, look for. Libreoffice delete it and open libreoffice it will be just like new.

      Solution sent by Chuq through email.

  10. Ian Sinclair says:

    Easy enough to install and use LibreOffice, but it does not appear in the Ubuntu Software Center and I cannot remove parts (such as sprdeadsheet that I don’t want. All three of my computers suffer the same problem. OS is Ubuntu 10.04.

  11. Annykim says:

    Hello,
    I have Ubuntu 11.10 and am trying to install LibreOffice but sudo is asking for my password.
    The only password I have is the one I made during installation (of ubuntu) and when I type, the keyboard seems to be dead and I can go no further.
    I have successfully uninstalled OpenOffice..
    Please help.
    Thanks
    Annykim

    • chuq says:

      In linux your password is hidden when you type it. Just type in your password and hit enter. Also remeber that linux a lot of the time does not tell you what’s going on after you give a command unless there is a problem.

  12. Dennis Lott says:

    Here is the problem I’m getting when I try to update now.

    LibreOffice is still not working. It appears to be not fully installed.

    Failed to fetch http://ppa.launchpad.net/Libreoffice/ppa/ubuntu/dists/lucid/main/binary-i386/Packages.gz 404 Not Found
    Some index files failed to download, they have been ignored, or old ones used instead.

  13. Dennis Lott says:

    Everytime I check for updates in the Update Manager I get a message:

    Could not download all repository indexes

    The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.

    Failed to fetch http://ppa.launchpad.net/Libreoffice/ppa/ubuntu/dists/lucid/main/binary-i386/Packages.gz 404 Not Found.

    How can I correct this? Please send me an email?

  14. George Hostler says:

    I followed your directions to the tee, and installation went without any problems. This is on a week old installation of Ubuntu 10.04 LTS. I went back to LTS, because I don’t need need cutting edge and I enjoy the ultra stability of it.

  15. Jon Seidel says:

    Doesn’t seem to work for Kubuntu 10.04 I followed the instructions, did serveral sudo apt-get update’s and still get the errors:

    ~$ sudo apt-get install libreoffice-kde
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package libreoffice-kde is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package libreoffice-kde has no installation candidate

  16. AC says:

    Libreoffice 3.5 is completely broken. How do I compeltely delete it from Ubuntu after installing it with the ppa, and reinstall OpenOffice?

  17. lili says:

    I have installed liberoffice writer , how I can make it to correct my writing mistakes????????????????? like word in windows:(

Trackbacks

  1. [...] sudo apt-get install libreoffice $ sudo apt-get install libreoffice-gnomefuente: Wikipediahttp://www.mytechguide.org/2011/02/26/install-libreoffice-ubuntu/Compartir var a2a_config = a2a_config || {}; a2a_localize = { Share: "Compartir", Save: "Guardar", [...]

  2. [...] Canonical has introduced 17 new wallpapers that will be part of the final release of the upcoming Ubuntu 11.04 (Natty Narwhal) operating system. The default wallpaper for Ubuntu 11.04 has also been reveled. The [...]

  3. [...] The developer’s then went on to fork OpenOffice.org to form LibreOffice. LibreOffice has been very successful and most of the major Linux distributions have switched over to LibreOffice as the default office application suite. [...]

Speak Your Mind

*