How to Install Apache OpenOffice on Ubuntu 20.04 and Linux Mint 20

28/12/2020
Chưa phân loại

Apache OpenOffice is a free, open-source, and multi-platform software office suite. It provides a complete bundle of useful office applications like spreadsheets, presentations, and drawing tools. It is implemented in Java and C++ and supports more than 121 languages.

This guide explains how to install Apache OpenOffice’s latest version on Ubuntu and Linux Mint.

Installation steps of OpenOffice on Ubuntu and Linux Mint

You need to follow the following steps to install OpenOffice on Ubuntu and Linux Mint:

Step1: Uninstall the LibreOffice installed version

LibreOffice comes already installed on Ubuntu and Linux Mint including other Debian-based distributions. Before installing the Apache OpenOffice on Ubuntu and Linux Mint, we need to uninstall the LibreOffice to prevent any type of dependency conflict. The OpenOffice and LibreOffice cannot operate on the same system.

Note: All the commands require root/sudo privileges to be executed. Turn on the root mode or enter the sudo password for executing the commands.

LibreOffice can be uninstalled using the below command:

$ sudo apt-get remove –purge libreoffice*


When prompted with the ‘yes/no’ option, press ‘y’ on the terminal and hit enter to continue the installation process.

Then run the following commands to remove the broken and held packages:

$ sudo apt clean
$ sudo apt autoremove

Step 2: Install Java runtime environment

We need to install a Java runtime environment (JRE) to use the full functions of Apache OpenOffice. The JRE version should be 8 or higher. Before the installation of JRE, you have to update the repository:

$ sudo apt update


Once you have updated the repository, now you want to install JRE using the command given below:

 $ sudo apt install openjdk-8-jre


Once it’s installed, you can check the java version:

$ java –version

Step 3: Download the OpenOffice package

The Apache OpenOffice package is not available in the Ubuntu, and Linux Mint repositories. Visit this link https://www.openoffice.org/download/index.html to download the latest OpenOffice from the official website. OpenOffice 4.1.8 is the latest available version at the time of article writing.


Select the Debian package, select your preferred language, and click on the “Download full installation” button.

A dialogue box will appear. Select the option “save file” and press the OK” button.


The package that you would download will go directly into the “Downloads” directory. Now, you need to go to the “Downloads” directory from the terminal:

$ cd Downloads

Step 4: Extract the OpenOffice tar file

The downloaded OpenOffice Debian package is in the form of a tar file. Therefore, before using it, we need to extract it using the tar command-line utility:

$ tar -xvf Apache_OpenOffice_4.1.8_Linux_x86-64_install-deb_en-US.tar.gz


“Apache_OpenOffice_4.1.8_Linux_x86-64_install-deb_en-US.tar.gz” is the name of the downloaded OpenOffice Debian package.

A new directory named “en-US” is created. Furthermore, this directory contains a “DEBS” directory. Navigate to this newly created directory with the following command:

$ cd en-Us/DEBS

Step 5: Install the OpenOffice Debian package

All the installable files are placed in the “DEBS” directory. Run the following command to install the OpenOffice on Ubuntu or Linux Mint system:

$ sudo dpkg -i *.deb


Now you have to integrate all the packages on your desktop. Navigate to the desktop-integration to install the OpenOffice packages::

$ cd desktop-integration/


Execute the following command to install the required Debian packages:

$ sudo dpkg -i *.deb


Congratulations! The Apache OpenOffice is installed successfully.

Step 5: Launch OpenOffice Application

After the successful installation, now it’s time to launch the OpenOffice application. You can either launch it from the terminal or the application menu.

To launch OpenOffice from the terminal, run the following command:

$ openoffice4

Upon the first launch, you will see the following window:


Click on “Next” and then click on “Finish”.

To launch the OpenOffice from the application menu, click on the applications button, and search for open office. The related applications will appear in the application menu.

Enjoy Apache OpenOffice on your system.

Conclusion

This guide explains the Apache OpenOffice 4.1.8 on Ubuntu and Linux Mint. We have used Linux Mint 20 for preparing this guide. Additionally, we also explained how to launch the OpenOffice application.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Linux egrep Command with Examples

The egrep command belongs to the family of the grep command which is used for pattern searching in Linux. If you have used...
29/12/2020

How to install Ring on Ubuntu, Fedora – Skype Alternative

In this post, I will be showing you how to install Ring on Ubuntu 17.04 and below. Ring is a free and universal communication...
28/12/2020

Install and Use TensorFlow on Ubuntu

TensorFlow with CPU support This mechanism takes less time (usually 5 to 10 minutes) during installation. If your system...
12/02/2020
Bài Viết

Bài Viết Mới Cập Nhật

Hướng dẫn fake ip bằng phần mềm SStap
10/06/2025

VPS treo game là gì? Thuê VPS treo game giá rẻ, không lo giật lag
02/06/2025

 BitBrowser – Best Anti-Detect Browser!
26/05/2025

Dịch Vụ Xây Dựng Hệ Thống Peering Với Internet Exchange (IXP)
04/04/2025

Dịch Vụ Triển Khai VPN Site-to-Site & Remote Access
04/04/2025