How to Install Apache OpenOffice on Ubuntu 20.04

Install Apache OpenOffice on Ubuntu 20.04

In this article, we will have explained the necessary steps to install and configure Apache OpenOffice on Ubuntu 20.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Apache OpenOffice is a free and open-source office productivity software suite similar to LibreOffice and Microsoft Office suite. With Apache OpenOffice, you can use document, spreadsheet, presentation, and drawing software freely.

Install Apache OpenOffice on Ubuntu 20.04

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

sudo apt update
sudo apt upgrade

Step 2. Install Java.

Install the OpenJDK package using the following commands:

sudo apt install default-jdk

Once all necessary packages are installed, you can then check the version of Java that’s installed on your server:

java -version

Step 3. Install Apache OpenOffice on Ubuntu systems.

Apache OpenOffice Ubuntu packages are available for download on the official web page:


Once the package gets downloaded, we have to extract it:

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

To install the packages issue the following:

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

Now install the desktop integration features for your setup. Go to desktop-integration in the installation directory, and install the required package:

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

Step 4. Accessing Apache OpenOffice.

Open a terminal and issue the following commands to run necessary applications:


That’s all you need to do to install Apache OpenOffice on Ubuntu 20.04 LTS Focal Fossa. I hope you find this quick tip helpful. For further reading on Apache OpenOffice, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.