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



Please share if you like it on:


  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.

    • 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 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

  3. 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

  4. 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?

    • 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!!!

    • 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.

  5. 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.

  6. 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

  7. 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

  8. 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

  9. 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?


  10. 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!!!

  11. 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.

  12. 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.

  13. 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

  14. 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

  15. 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!

  16. 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.

Leave a Reply

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