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

SK Mezanul Haque

SK Mezanul Haque is the founder of MyTechGuide.org (popularly known as My Technology Guide). Passionate about all things in tech. Let's meet: Google Plus.

You may also like...

41 Responses

  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

    • Dorothy Robinson says:

      Mezanul,

      I have tried this several times, but each time I’m told (in the terminal):

      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: Depends: libreoffice-core (= 1:3.5.4-0ubuntu1~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-filter-mobiledev but it is not going to be installed
      Depends: libreoffice-java-common (>= 1:3.5.4~) but it is not going to be installed
      Recommends: libreoffice-gnome but it is not going to be installed or
      libreoffice-kde but it is not going to be installed
      E: Broken packages

      it seems that this means I can’t install libreoffice unless libreoffice-gnome is installed, and I can’t install libreroffice-gnome unless libreoffice is installed. Is there a way around this circular error?

      thanks,
      Dorothy

  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:(

  18. David Parsons says:

    I am running Ubuntu 10.04 and this morning had an update. The update removed OpenOffice but didn’t replace it. In consequence I was most appreciative of this site and the information because it enabled me to install LibreOffice which at the moment seems to be working well. I have to run a few more tests though.

  19. Dave says:

    I followed the steps exactly to install libreoffice, first purging openoffice. However, Writer does not appear in the office tab under Applications. ????

    Thanks.

  20. Dave says:

    I have installed libreoffice following the steps exaxtly. However librewriter is not in the list Applications-> Office. It is installed, however. I opened a document and it opened with librewriter. How do I get it to appear in the list in Applications-> Office ??

  21. ravindra r says:

    dear sir,
    I wanted install libreoffice in my PC in which I’m using ubuntu 10.04.
    I followed the steps exactly to install libreoffice, first purging openoffice,updating but the problem is now, after sudo apt-get install libreoffice command im getting the following:
    E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    so what to do, please help.
    thanks
    Ravindra

  22. Erik says:

    http://ubuntuforums.org/archive/index.php/t-2051830.html

    adds the advice to use the stable libreoffice 3.5 repository: “ppa:libreoffice/libreoffice-3-5”

    I got past the error:

    “The following packages have unmet dependencies:
    libreoffice: Depends: libreoffice-core (= 1:3.5.4-0ubuntu1~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
    …”

    And it seems LO is at least startable… oh and… yay… seems some nasty old LO bugs have been purged as well… so… PPA installation should be viewed as a temporary solution… or involve checking for the “latest stable” version now and then.

    Anyway… now it seems to work… using the above ppa (this was on ubuntu 10.04 LTS)

    Hope this helps!

    /E

    • Volomike says:

      Erik’s advice helped. I switched my repository to ppa:libreoffice/libreoffice-3-5 instead of the one in the article, did an apt-get update, and then I was able to install libreoffice just fine on Ubuntu 10.04 LTS (Lucid).

  23. hopeless ubuntu says:

    As of january 2013 this method does nothing. All packages broken, but not showing as broken in synaptic. Dependencies needed but not installed, etc….

  24. bluewaters4567 says:

    I have 10.04 ubuntu (Lucid Lynx) and want to install LibreOffice. (Right now I have Openoffice). However I would like to do it through Synaptic, instead of the command line process described above. Any ideas.

  25. claus knudsen says:

    Worked fine on 10.04 with LibreOffice 4.0.2.2 ;-)

    No error messages – all just good.

    Thanks.

    Claus

  26. Lng_Pai says:

    Hi,
    I tried to install the Libre office 4.1 using offline package downloaded from the official site. Using that i was able to install libre alongside openoffice. so far no issues. :)
    Earlier i had tried to install using PPA and had to uninstall open office.
    Thought its worth mentioning.

  27. louis says:

    error – Couldn’t find package libreoffice-gnome after command sudo apt-get install libreoffice-gnome trying this on LL 10.04 – anybody help pliz?

  28. Karen says:

    I keep getting these two messages depending on the command: “Some index files failed to download, they have been ignored, or old ones used instead”
    “Package libreoffice 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 has no installation candidate”

    What do I do. I have deleted the OpenOffice suite.

Leave a Reply

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

Pin It on Pinterest

Advertisment ad adsense adlogger