In this tutorial, we will show you how to install LibreOffice on AlmaLinux 8. For those of you who didn’t know, LibreOffice is a free and open-source office suite and is often considered a good alternative to the Microsoft Office suite. LibreOffice includes Writer (word processing), Calc (spreadsheets), Impress (presentations), Draw (vector graphics and flowcharts), Base (databases), and Math (formula editing).
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 the step-by-step installation of LibreOffice’s free open-source office productivity suite on AlmaLinux 8. You can follow the same instructions for CentOS and Rocky Linux.
- A server running one of the following operating systems: AlmaLinux 8.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install LibreOffice on AlmaLinux 8
Step 1. First, let’s start by ensuring your system is up-to-date.
sudo dnf update sudo dnf install dnf-plugins-core
Step 2. Installing LibreOffice on AlmaLinux 8.
By default, LibreOffice is available on the AlmaLinux 8 base repository. Now we run the following command to download its RPM binary from the official website:
Next, extract the downloaded tar file:
tar -xvf LibreOffice_7.3.0_Linux_x86-64_rpm.tar.gz
Then, switch to the extracted directory and install it:
cd LibreOffice_7.3.0_Linux_x86-64_rpm cd RPMS sudo dnf localinstall *.rpm
Step 3. Accessing LibreOffice on AlmaLinux.
Once successfully installed, go to your system’s Application launcher and search for LibreOffice, you will see all the apps to run:
Congratulations! You have successfully installed LibreOffice. Thanks for using this tutorial for installing LibreOffice free office suite on your AlmaLinux 8 system. For additional help or useful information, we recommend you check the official LibreOffice website.