Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Linux Distributions»Ubuntu»How to Install OpenOffice on Ubuntu 20.04

    How to Install OpenOffice on Ubuntu 20.04

    RahulBy RahulAugust 17, 20202 Mins ReadUpdated:August 7, 2021

    Apache OpenOffice is an open-source office application software suite available for Unix-based systems. You can use documents, spreadsheets, presentations, and drawing software freely. OpenOffice is a project build by the Apache foundation and providing the latest features and security updates.

    This tutorial will help you to install Apache OpenOffice 4.1 on Ubuntu 20.04 LTS system.

    Step 1 – Installing Java

    Apache OpenOffice 4.1 required Java runtime 8 or higher version to run on any platform. Make sure you already have installed Java on your system.

    To install latest available OpenJDK Java on your Ubuntu system, type:

    sudo apt install default-jdk -y 
    

    After completing installation, check the installed Java version by running command:

    java -version 
    
    openjdk version "11.0.8" 2020-07-14
    OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu120.04)
    OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)
    

    Step 2 – Download Apache OpenOffice Debian Package

    Apache OpenOffice Debian packages are available for download on official web page. You can visit download page and download the latest Debian packages, or use the following command to download files on your system.

    wget https://sourceforge.net/projects/openofficeorg.mirror/files/4.1.7/binaries/en-US/Apache_OpenOffice_4.1.7_Linux_x86_install-deb_en-US.tar.gz 
    

    Once the download is complete, extract the Debian packages on your system.

    tar xzf Apache_OpenOffice_4.1.7_Linux_x86_install-deb_en-US.tar.gz 
    

    This will create an installation directory named en-US under the current directory, and place all the Debian packages there.

    Step 3 – Install Apache OpenOffice on Ubuntu

    Before installing OpenOffice make sure you don’t have installed OpenOffice on your system. If have, uninstall it using the following command.

    sudo apt remove -–purge openoffice* 
    

    Then, navigate to Apache OpenOffice extracted packages directory and DEBS folder. You will see a list of Debian packages there. Install all packages using the following command.

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

    Next is to install the desktop integration features. Navigate to the desktop-integration directory, and install the required package.

    cd desktop-integration/ 
    sudo dpkg -i openoffice4.1-debian-menus*.deb 
    

    Step 4 – Launch Apache OpenOffice

    After successful installation of all the packages in the above steps, You have installed Apache OpenOffice on your system. Now launch the OpenOffice suite from command line by typing:

    openoffice4 
    

    Install OpenOffice on Ubuntu 20.04

    Conclusion

    In this tutorial, you have learned to install Apache OpenOffice on Ubuntu 20.04 LTS Linux system.

    office openoffice openoffice4
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleFind All files Owned by a Specific User in Unix/Linux
    Next Article How To Install Memcached on Ubuntu 20.04

    Related Posts

    Changing the Login Screen Background in Ubuntu 22.04 & 20.04

    Updated:May 9, 20222 Mins Read

    (Resolved) Please install all available updates for your release before upgrading

    2 Mins Read

    How to Install LightDM Display Manager on Ubuntu

    Updated:May 10, 20222 Mins Read

    Change Screen Resolution of An Ubuntu VM in Hyper-V

    Updated:May 2, 20222 Mins Read

    How to Check IPv4 Address on Ubuntu 22.04

    2 Mins Read

    How to Configure Static IP Address on Ubuntu 22.04

    Updated:May 4, 20223 Mins Read

    3 Comments

    1. Pieter de Graaff on February 4, 2021 9:14 pm

      Hi, Rahul,
      Something went wrong, I don’t know what:
      I followed each step exactly as stated in your HowTo

      Then I performed the last step:

      [email protected]:~/en-US/DEBS/desktop-integration$ sudo dpkg -i openoffice4.1-debian-menus*.deb
      [sudo] password for pieter:
      (Reading database … 170383 files and directories currently installed.)
      Preparing to unpack openoffice4.1-debian-menus_4.1.7-9800_all.deb …
      Unpacking openoffice-debian-menus (4.1.7-9800) over (4.1.7-9800) …
      /usr/bin/gtk-update-icon-cache
      gtk-update-icon-cache: Cache file created successfully.
      Setting up openoffice-debian-menus (4.1.7-9800) …
      /usr/bin/gtk-update-icon-cache
      gtk-update-icon-cache: Cache file created successfully.
      Processing triggers for gnome-menus (3.36.0-1ubuntu1) …
      Processing triggers for desktop-file-utils (0.24-1ubuntu3) …
      Processing triggers for mime-support (3.64ubuntu1) …
      Processing triggers for shared-mime-info (1.15-1) …
      Processing triggers for hicolor-icon-theme (0.17-2) …
      [email protected]:~/en-US/DEBS/desktop-integration$

      and then tried to start OpenOffice:

      [email protected]:~/en-US/DEBS/desktop-integration$ openoffice4
      /opt/openoffice4/program/soffice: 84: /opt/openoffice4/program/pagein: not found
      /opt/openoffice4/program/soffice: 1: /opt/openoffice4/program/javaldx: not found
      /opt/openoffice4/program/soffice: 119: /opt/openoffice4/program/soffice.bin: not found
      [email protected]:~/en-US/DEBS/desktop-integration$

      So I tried from my default directory:

      [email protected]:~$ openoffice4
      /opt/openoffice4/program/soffice: 84: /opt/openoffice4/program/pagein: not found
      /opt/openoffice4/program/soffice: 1: /opt/openoffice4/program/javaldx: not found
      /opt/openoffice4/program/soffice: 119: /opt/openoffice4/program/soffice.bin: not found
      [email protected]:~$

      Same problem.

      In the overview menu (show applications) I find eight Open Office icons. The main, the Printer Administration and six apps for text, math etcetera.
      When I click on one Ubuntu will try to start it but will not succeed. No error message will follow.

      What can I do? Can you help me out?

      Best regards,
      Pitor

      Reply
    2. Michael on December 1, 2020 7:09 pm

      You forgot to mention that if LibreOffice is installed, you also have to remove that or you get:

      Unpacking openoffice-debian-menus (4.1.7-9800) …
      dpkg: error processing archive openoffice4.1-debian-menus_4.1.7-9800_all.deb (–install):
      trying to overwrite ‘/usr/bin/soffice’, which is also in package libreoffice-common 1:6.4.6-0ubuntu0.20.04.1

      Also… The Captcha is hidden under the submit button. Not that you seem to read or respond to comments… Just saying.

      Reply
    3. Nick on August 17, 2020 8:54 pm

      Hi,

      Just to clarify in step 3 ….. purge openoffice ?????

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    • How To Install PHP (8.1, 7.4 or 5.6) on Ubuntu 22.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.