If you are looking for a guide to install OpenOffice on Linux Mint 20, you are in the right place. OpenOffice is an open source free alternative to Microsoft office and LibreOffice. It is written in C++ and Java. OpenOffice has its own file formats and is able to read and save Microsoft Office applications file formats. With OpenOffice, we get the below features:
- Writer– Word Processor
- Calc– for spreadsheet
- Impress– presentations,
- Draw– graphics/diagrams
- Base– for database
- Math– for mathematical equations.
Install Apache OpenOffice on Linux Mint 20
OpenOffice is available for Download on the Apache official website. Before we install and download, let us first remove the existing Libre Office in Linux Mint 20.
Step 1: Unistall LibreOffice in Linux Mint 20
To completely remove Libre Office on Linux Mint 20, just run the below commands:
sudo apt-get remove --purge libreoffice* sudo apt-get clean sudo apt-get autoremove
Step 2: Install java 8 on Linux Mint 20
For full Apache OpenOffice functionality we need to install Java Runtime Environment. Run the below commands:
sudo apt update sudo apt install openjdk-8-jre
If you have more than one version of Java, choose Java 8 as the default. To set default java version on Linux Mint 20, first list all the installed Java versions.
$ sudo update-java-alternatives --list java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 java-8-oracle 1081 /usr/lib/jvm/java-8-oracle
Set Java 8 to default by running the below commands.
$ sudo update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 auto mode * 1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual mode 2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual mode Press <enter> to keep the current choice[*], or type selection number: 2
Confirm the current java default version
$ java -version java version "1.8.0_265"
Step 3: Installing OpenOffice on Linux Mint 20
Download the latest version of OpenOffice from Apache official website. Run the command below:
Now extract the archived file
tar xvf Apache_OpenOffice_4.1.7_Linux_x86-64_install-deb_en-US.tar.gz
Once extracted a folder called en-US will added to your system. Change to this directory and install OpenOffice. Use the commands shown below:
cd en-US/DEBS sudo dpkg -i *.deb
The installation should run to completion giving the below output:
Let us now install the Desktop integration package.
cd desktop-integration sudo dpkg -i *.deb
Using Apache OpenOffice on Linux Mint 20
Once installations are complete, search for OpenOffice on your start menu to start using it.
When you click on it, it prompts names. Enter your first name, last name and initial the click finish. It should open a page like below:
Click to open OpenOffice calc and it should display as below:
Using OpenOffice from the terminal.
You can also start the different OpenOffice applications from the command line. For example, to open writer, calc and impress, run the commands below:
openoffice4 -writer openoffice4 -calc openoffice4 -impress
Enjoy and check other articles on Linux Mint.