How to Install OnlyOffice on Rocky Linux 9

ONLYOFFICE is a powerful and versatile office suite that allows you to edit text documents, spreadsheets, or presentations easily. It also includes many collaborative features such as a CRM system for keeping track of contacts; a project management toolset that provides organization tools like task lists. The contact list can be accessed from anywhere globally via an internet connection! ONLYOFFICE is an essential tool for businesses and teams who need to edit and collaborate on documents regularly.

Thanks to its wide range of features, it is also perfect for personal use, meaning that you can keep all your essential documents in one place. Whether working on a document alone or with a team, ONLYOFFICE provides everything you need to get the job done quickly and efficiently.

In the following tutorial, you will learn how to install OnlyOffice on Rocky Linux 9 by downloading the official RPM repository and installing it manually or using the third-party package manager Flatpak that is natively installed.

Update Rocky Linux

Before proceeding with the tutorial, ensuring your system is up-to-date with all existing packages is good.

sudo dnf upgrade --refresh

Install OnlyOffice Suite – DNF Method

The first task is downloading the official RPM package from OnlyOffice’s website. Luckily, this can be done using the command line terminal with the wget command.


Next, install OnlyOffice with the following command.

sudo dnf install onlyoffice-desktopeditors.x86_64.rpm -y

Install OnlyOffice Suite – Flatpak Method

The best option is to use the Flatpak package manager since it will be easier to receive binary updates if required. This comes installed on Rocky Linux unless you removed it. This is another popular option similar to Snap but is featured amongst many distributions as an alternative third-party installation package manager for the latest packages.

First, re-install the Flatpak manager; this can be skipped if you already have it installed.

sudo dnf install flatpak -y

Next, you need to enable Flatpack using the following command in your terminal.

sudo flatpak remote-add --if-not-exists flathub

Ideally, you should reboot at this stage; if you skip this and notice icons not appearing, the reboot will generate the paths required for the future. This can be skipped if you have not re-installed Flatpak.


Now run the installation using the following flatpak command.

flatpak install flathub org.onlyoffice.desktopeditors -y

How to Launch OnlyOffice Suite

Now that you have completed the installation launching, it can be done in a few ways.

Using the command line terminal, you can open the software quickly by using the following command.


Alternatively, Flatpak installations can use the following command.

flatpak run org.onlyoffice.desktopeditors

The best way to use OnlyOffice for desktop users that prefer not to use the command line terminal is to open the GUI of the application by following the path.

Taskbar > Office > OnlyOffice


How to Install OnlyOffice on Rocky Linux 9

Once opened, you can create a document, spreadsheet, presentation, or template. You can also connect to the cloud from the default screen if you have this available.

Example Word (Click Image to Enlarge):

How to Install OnlyOffice on Rocky Linux 9

Example Word (Click Image to Enlarge):

How to Install OnlyOffice on Rocky Linux 9

How to Update/Upgrade OnlyOffice Suite

Users that installed the DNF version will need to re-download the RPM package and re-install to upgrade your OnlyOffice. But, Flatpak installations can check for updates and quickly install these using the following command.

flatpak update

How to Remove (Uninstall) OnlyOffice Suite

Use one of the following commands if you no longer require the application that matches the installation method.

DNF Remove Method

sudo dnf autoremove onlyoffice-desktopeditors.x86_64 -y

Flatpak Remove Method

flatpak remove  --delete-data org.onlyoffice.desktopeditors -y

Next, run the following command for any leftover clean-ups required, similar to the autoremove command described for the DNF remove example command.

flatpak remove --unused

Comments and Conclusion

ONLYOFFICE is an excellent option if you are looking for an office suite that can be used online. It has various features, such as document editors and a document management platform, making it an attractive choice for businesses and individuals. The software is free to use, which makes it even more appealing. I

Not what you were looking for? Try searching for additional tutorials.

Leave a Comment