How To Install Apache OpenOffice on CentOS 8

Install Apache OpenOffice on CentOS 8

In this tutorial, we will show you how to install Apache OpenOffice on CentOS 8. For those of you who didn’t know, Apache OpenOffice, commonly known as OpenOffice.org or OpenOffice, is an open-source office productivity software suite whose main components are for word processing, spreadsheets, presentations, graphics, and databases. It is very much similar to other popular editors like Libreoffice and NeoOffice.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step by step installation of Apache OpenOffice on a CentOS 8.

Install Apache OpenOffice on CentOS 8

Step 1. First, let’s start by ensuring your system is up-to-date.

sudo dnf install epel-release
sudo dnf update

Step 2. Installing Java on CentOS 8.

Currently, there are two LTS versions of OpenJDK – OpenJDK 8 and OpenJDK 11. You can also install the both Java version on any system and use as per your requirements.

  • Installing OpenJDK 11.
sudo dnf install java-11-openjdk-devel
  • Installing OpenJDK 8.
sudo dnf install java-1.8.0-openjdk-devel

Verify Java version:

java -version

Step 3. Download Apache OpenOffice package.

Download the latest release of Apache OpenOffice from the Apache OpenOffice Downloads page:

wget https://sourceforge.net/projects/openofficeorg.mirror/files/4.1.7/binaries/en-US/Apache_OpenOffice_4.1.7_Linux_x86-64_install-rpm_en-US.tar.gz

Execute the following command to extract the compressed file:

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

Step 4. Installing Apache OpenOffice on CentOS 8.

You will see a list of RPMs packages inside the en-US directory. Install all RPMs packages using the following command:

cd en-US/RPMS/
rpm -Uvh *.rpm

Then, install the desktop integration features for your setup and install the required package:

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

Step 4. Accessing Apache OpenOffice.

After successfully installation, start Apache OpenOffice using the following command:

openoffice4

Congratulations! You have successfully installed Apache OpenOffice. Thanks for using this tutorial for installing Apache OpenOffice on the CentOS 8 system. For additional help or useful information, we recommend you to check the official Apache OpenOffice website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!