How to Install Apache OpenOffice on CentOS 8

Install Apache OpenOffice on CentOS 8

In this article, we will have explained the necessary steps to installing and configure Apache OpenOffice on CentOS 8. 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 CentOS 8

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

sudo dnf install epel-release
sudo dnf update

Step 2. Install Java.

To install the OpenJDK 11 on CentOS 8, run the following command:

sudo yum install java-11-openjdk-devel

Confirm the installation and check the version by typing the following command:

$ java -version
openjdk version "11.0.4" 2020-01-16 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.4+16-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.4+16-LTS, mixed mode, sharing)

Step 3. Download and Install Apache OpenOffice on the CentOS system.

Now download Apache OpenOffice packages from the official website:

tar xvf Apache_OpenOffice_4.1.7_Linux_x86-64_install-rpm_en-US.tar.gz

Next, install the OpenOffice RPM packages using the command below:

cd en-US/RPMS
sudo rpm -Uvih *rpm

Also, Install the desktop integration features for your setup:

sudo rpm -Uvih desktop-integration/openoffice4.1.7-redhat-menus-4.1.7-9800.noarch.rpm

Step 4. Accessing Apache OpenOffice.

Once successfully installed all the packages in the above steps, start Openoffice using the following command:


That’s all you need to do to install OpenOffice on CentOS 8. 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.