Apache OpenOffice 4.0 Released–Here’s How To Install It In Ubuntu

Apache OpenOffice suite which was previously known as OpenOffice.org has just been updated to version 4.0 and is available for download from its official download page. This is a major update and brings exciting new features and enhancements along with many bug fixes.

Some of the features released with this version are:  a new sidebar, improvements in Microsoft Office interoperability, support for more languages and a major performance boost. For more about this release and all of the other features included, check out its release notes page.

This brief tutorial is going to show you how to easily install or upgrade to the latest OpenOffice version in Ubuntu 13.04 and previous versions. You can use it in place of LibreOffice if you want. I am not recommending it, but it’s up to you to do what you want with your computer.

I am not going to tell you to pick a side between LibreOffice and OpenOffice. All I am going to show you is how to install AOO in Ubuntu and use it.

To get started, press Ctrl – Alt – To on your keyboard to open the terminal console. When it opens, run the commands below to completely remove LibreOffice from your machine. It’s wise to remove LibreOffice before installing OpenOffice. Don’t worry, I will also show you how to revert the changes you made to your computer after installing OpenOffice.

sudo apt-get remove --purge libreoffice* libexttextcat-data* && sudo apt-get autoremove


Next, change into the /tmp directory to download OpenOffice file.

cd /tmp


When you’re there, run the commands below to download the latest version (32-bit English) of OpenOffice. To view the download page and select other languages, use this page.

wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.0.0/binaries/en-US/Apache_OpenOffice_4.0.0_Linux_x86_install-deb_en-US.tar.gz


For 64-bit English version, use this link.

wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.0.0/binaries/en-US/Apache_OpenOffice_4.0.0_Linux_x86-64_install-deb_en-US.tar.gz


When the file is downloaded, run the commands below to extract the downloaded file.

tar -xvf Apache_OpenOffice*.tar.gz


Next, run the commands below to begin installing it.

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


Next, run the commands below to install the desktop-integration for .deb Linux distributions.

sudo dpkg -i en-US/DEBS/desktop-integration/*.deb


When you’re done, restart and enjoy!




To revert the change and reinstall LibreOffice, run the commands below to completely remove Apache OpenOffice.

sudo apt-get purge openoffice*.* && sudo apt-get autoremove


Then install LibreOffice by running the commands below.

sudo apt-get install libreoffice libreoffice-gnome



52 thoughts on “Apache OpenOffice 4.0 Released–Here’s How To Install It In Ubuntu”

  1. this did not work for me. One command uses GB and another US and would not load.
    The wget command for 32 bit, loads a GB directory, but then tries to install with this command: sudo dpkg -i en-US/DEBS/*.deb , which is looking for an en-US directory.

    1. Error in the link. For the 32-bit English US download, use this link wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.0.0/binaries/en-US/Apache_OpenOffice_4.0.0_Linux_x86_install-deb_en-US.tar.gz

      If you downloaded the English GB version, run this command to install sudo dpkg -i en-GB/DEBS/desktop-integration/*.deb

  2. I’ve tried several different versions I’ve found on line of how to install this, and my terminal each time says it doesn’t recognize the commands. What can I do to change that?

  3. I can not install open office 4.0 in Ubuntu 12.10 appears this error message:

    dpkg: dependency problems prevent configuration of openoffice-brand-writer:i386:
    openoffice-brand-writer:i386 depends on openoffice; however:
    Package openoffice:i386 is not configured yet.
    openoffice-brand-writer:i386 depends on openoffice-writer; however:
    Package openoffice-writer:i386 is not installed.
    dpkg: error processing openoffice-brand-writer:i386 (–install):
    dependency problems – leaving unconfigured

  4. Good one, however “wgethttp://sourceforge.net/projects/openofficeorg.mirror/files/4.0.0/binaries/en-US/Apache_OpenOffice_4.0.0_Linux_x86_install-deb_en-US.tar.gz” ur missin the SPACE

  5. Hi guy,
    I try to unistall openoffice 3 through the command
    sudo apt-get purge openoffice*.* and It seems work but when I try to open a .doc file I have already openoffice!!!
    Could help me to remove openoffice?

  6. Our administration in Openoffice Base and also Calc makes things clear and even helps us perfectly in our household. Now we even have documentation we are ready to become become Openoffice profesionals. Wish us good luck :-).

  7. I’ve tried to install Apache Open Office for may be 3 times. But it didn’t work. Should I remove the Libre Office first, and then I Install The Open Office? I’m using Ubuntu 12.04 LTS.

    1. I just downloaded OpenOffice 4.1 and I had to come to this web site to learn how to install it. LibreOffice always included the instructions within their readme file that was included with the source code.

      To me this is a very big strike AGAINST it as a newbee would NOT know how to install it!!!

    2. I just installed it and took a quick look at it and I would DEFINITLY NOT remove LibreOffice as it is, from what I have seen a MUCH BETTER application than OpenOffice is and I would NOT reccommend it to a new user.

      For example: To create a header or footer in LO just click on the top or bottom of the page and a header or footer is created. In OO it is required that 2 different icons be clicked for a header and footer.

  8. It’s 2014 and typing commands is STILL required to install software on Linux ?!!!? I’m so sick of Windows I can’t stand it. But I still have to look forward to non-point-and-click installs? Wow. Instead of producing 100 different distros, why don’t you people work together and put your efforts into making a few that “just work”? (No, don’t tell me that *I* should do that–pay me to get out of the microsh*t IT world and I would.) NOTE: This is not an insult, just a disappointed observation.

  9. I recieved the following message while installing the version on 64 bit Ubuntu 12.04 LTS

    Errors were encountered while processing:

    The archive might be corrupted, not sure

  10. installation works flawless. Easiest though is to start with sudo su and omit all sudo statements

  11. I can save OpenOffice to my computer, but when I get to extracting the files using ‘tar -xvf Apache_OpenOffice*.tar.gz’ I get the following error messages:

    tar: Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz: Not found in archive
    tar: Apache_OpenOffice_4.1.0_Linux_x86_install-deb_en-US.tar.gz: Not found in archive
    tar: Exiting with failure status due to previous errors

    I’ve tried typing a few times but these are the same errrors. Grateful any assistance

  12. that was realy great. i was knew to install but i got error at finish time. but i took the remove command of libreoffice and i tried to install and i have installed without error. thanks very much

  13. Hi, thanks for this, I just installed OpenOffice 4.0 on Ubuntu 14.0.4 in a VMWare Player environment. Your steps above were correct, except for “tar -xvf Apache_OpenOffice*.tar.gz” did not work until I deleted .tar.gz, then it worked fine.

    Question: Since 4.1 is the new version of OpenOffice and I’d like to upgrade, how would I do that? Do I need to go through the same steps above?


  14. Your page is very well organised with nice colours and excellent layout and good links . I have Linux Lite 1.08

  15. I just downloaded OpenOffice 4.1 and I had to come to this web site to learn how to install it. LibreOffice always included the instructions within their readme file that was included with the source code.

    To me this is a very big strike AGAINST it as a newbee would NOT know how to install it!!!

  16. I am NEWBEE on linux operation systems and as far as i can tell – installation things are complicated compared to windows o.s.

    So i bought an Apple PC

  17. My Package Manager broke trying to switch back to LibreOffice (possibly because I didn’t restart when installing OpenOffice :( ) and it can’t automatically detect the problem. Any solutions?

  18. Thank you very much! Without it I would have failed really much :) For me as a girl who has no clue about programming with a ubuntu computer your page is the savior !

  19. Great page – thanks!

    I got this error message:

    dpkg: error processing archive en-US/DEBS/openoffice-core01_4.1.1-6_amd64.deb (–install):
    trying to overwrite ‘/opt/openoffice4/program/libnss3.so’, which is also in package openoffice-core07 4.0.1-5
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

    Don’t know yet if it’s fatal – restarting now.

  20. Yep, it’s fatal. Starting soffice from the command line:

    /opt/openoffice4/program/soffice.bin: symbol lookup error: /opt/openoffice4/program/libsvxcore.so: undefined symbol: _ZThn1192_NK18SvHeaderTabListBox11GetRowCountEv

    Ubuntu 14.04 64, btw.

  21. wes@Wes-Cray:~$ sudo dpkg -i en-US/DEBS/*.deb
    dpkg: error processing archive en-US/DEBS/*.deb (–install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:
    wes@Wes-Cray:~$ sudo dpkg -i en-US/DEBS/desktop-integration/*.deb
    dpkg: error processing archive en-US/DEBS/desktop-integration/*.deb (–install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:
    copied & pasted EXACTLY as you directed. Errors encountered on installation and launcher. Can you help?? I have experience but Very new to Linux & Ubuntu. Would Really like to excel at these!
    Please help! Wes

  22. The 32 bit work just as shown no problem what so ever ,only changes was instead of 4.0.0 ,I used the latest version 4.1.1 ,On my PinguyOS box

    It is nice to be back home on OpenOffice ,was using LibreOffice but I had to come back to the OpenOffice

  23. Thank you so much for the super clear instructions, at last I have a real productivity suite on my Ubuntu x64

  24. Thanks very much for the simple, easy, straight forward instructions. If not for you, AOO would have had a frustrated non-user. You have made it possible for me to get my daily work done in AOO while I increase my strength and confidence using the command line. My salute to the Geeks of Liberia!

  25. Richard,
    Went through all the commands with no problem. But after the last command do I need to do anything because a prompt shows up? I restarted my LT and I see Open Office no where! What did I do wrong? Help is needed.

  26. I managed to download the Apache OpenOffice package and the file shows up when I look for it. However, when I input the command “sudo dpkg -i en-US/DEBS/desktop-integration/*.deb” as you instruced above, I get the following message after the processing triggers, “Errors were encountered while processing.” Also, the desktop icons are not present and I cannot open the Office program.
    What will be my next moves and how do I get the program open?
    Please be specific as I am not familiar with Linux processes.

  27. I reentered the command and the next message is “E: Command line option ‘p’ [from -purge] is not known”. The System Manager’s Manual does not seem to have any information on ‘purge’.

  28. Thank Richard for this 2013AD post… it is still useful in 2015AD!
    Most informative, understandable, and ultimately, satisfying.
    After “dpkg”, your final advice: “When you’re done, restart and enjoy!” is spot on…
    Thank you!

Leave a Reply

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