Install OnlyOffice on Rocky Linux 8: Powerful Word-Processing Tool
In this guide, you will learn How to Install OnlyOffice on Rocky Linux 8. OnlyOffice is a robust and feature-rich office suite that allows you to work on your documents, spreadsheets, presentations, and form templates, either offline or connected to your cloud. It stands out as a powerful word-processing software solution for individuals and businesses alike. The ease of use and compatibility make it an appealing choice for Rocky Linux 8 users. This article will guide you through the installation process of Install OnlyOffice on Rocky Linux 8.
Some important features of OnlyOffice include:
- Document Editor: Comprehensive tools for creating and editing text documents.
- Spreadsheet Editor: Create and manipulate spreadsheets with formulas and data analysis features.
- Presentation Editor: Design visually appealing presentations with various templates and effects.
- Form Templates: Create and fill out forms with ease.
- Collaboration Features: Real-time co-editing and commenting on documents.
- Cross-Platform Compatibility: Works seamlessly across different operating systems.
- Open Source Options: Community Edition available with open-source licensing.
This tutorial on the Orcacore website will teach you to set up Install OnlyOffice on Rocky Linux 8 by using the following methods:
- Using the Official RPM Package.
- Using Flatpak.
To access OnlyOffice Login, you must log in to your server as a non-root user with sudo privileges. For this purpose, you can follow this guide on Initial Server Setup with Rocky Linux 8.
Method 1 – OnlyOffice Installation with Official RPM Package on Rocky Linux 8
This method involves downloading and installing the official RPM package provided by OnlyOffice. It’s a straightforward approach for users comfortable with package management on Rocky Linux 8.
Download OnlyOffice RPM Package
First, you need to run the system update by using the command below:
sudo dnf update -y
Onlyoffice brings you an RPM package for desktop editors that you can use it to Install OnlyOffice on Rocky Linux 8. At this point, you can use the following wget command to download your OnlyOffice RPM package on Rocky Linux 8:
sudo wget https://download.onlyoffice.com/install/desktop/editors/linux/onlyoffice-desktopeditors.x86_64.rpm
Install OnlyOffice RPM Package
When your downloading process is completed, you can easily use the following command to install your package:
sudo dnf install onlyoffice-desktopeditors.x86_64.rpm
Method 2 – OnlyOffice Installation with Flatpak on Rocky Linux 8
This method utilizes Flatpak, a universal package management system, to install OnlyOffice. Flatpak provides a sandboxed environment for applications, enhancing security and dependency management.
Install Flatpak and Enable Flathub
In this method, you can easily use Flatpak to install your software. First, you must install Flatpak and enable Flathub on your server. To install Flatpak and enable the Flathub, you can visit our guide Install and Use Flatpak on Rocky Linux 8.
Install OnlyOffice with Flatpak
When you are done, use the following command to install OnlyOffice:
flatpak install flathub org.onlyoffice.desktopeditors
Troubleshoot OnlyOfiice Installation with Flatpak
During your installation, you may face this error that says:
"error: Unable to load summary from remote flathub: Can't fetch summary from disabled remote 'flathub,"
This will happen when your Flathub is not activated. To activate Flathub, you can use the following command:
sudo flatpak remote-modify --enable flathub
Or, you may get an error that your Flatpak hasn’t access to files. To solve this problem, you can use the following command to give the required permissions:
sudo flatpak override org.onlyoffice.desktopeditors --filesystem=host
How To Access OnlyOffice?
When you are done with the OnlyOffice installation, you can launch your OnlyOffice software easily with the following command:
onlyoffice
If you have installed OnlyOffice with Flatpak, you can access your software by using the command below:
flatpak run org.onlyoffice.desktopeditors
Or, you can easily access your OnlyOffice Login screen on the Rocky Linux 8 desktop by following the below location:
**Activities > Show Applications > OnlyOffice**

After you launch your OnluOffice software, you will see:

As you can see, you have the following options:
- Open local file
- Connect to cloud
- View recent documents
- Create new document, spreadsheet, or presentation
Also, you can see that you have an option that you can create an OnlyOffice cloud. With this option, you have all the components in one place.
How To Update OnlyOffice?
To update your OnlyOffice you can follow the steps below:
Those who installed OnlyOffice with the RPM package, should redownload the RPM package from the official website and reinstall it.
On the other hand, if you installed your OnlyOffice with Flatpak, you can update your package by running the command below:
flatpak update
How To Uninstall or Remove OnlyOffice?
If you no longer want to use OnlyOffice on Rocky Linux 8, you can easily remove it from your server.
Those who installed OnlyOffice with the RPM package can run the command below to remove their package:
sudo dnf autoremove onlyoffice-desktopeditors.x86_64 -y
On the other hand, if you installed your OnlyOffice with Flatpak, you can remove your app with the following commands:
# flatpak remove --delete-data org.onlyoffice.desktopeditors -y
# flatpak remove --unused
Conclusion
At this point, you have learned to Install OnlyOffice on Rocky Linux 8 by using both the RPM package and Flatpak package manager. As you saw, it is a powerful word processing software that you can use to manage your Word documents.
Hope you enjoy it. You may also interested in these articles:
Install FreeOffice on AlmaLinux 8
Install and Configure PowerDNS on Rocky Linux 8
FAQs
Where is OnlyOffice Configuration File?
If you are looking for your OnlyOffice config file, you can search for the following file: /etc/onlyoffice/documentserver/
It has all the main settings for your document server.
Is OnlyOffice Free To Use?
OnlyOffice provides both free and paid versions. The free version has the basic features. But with the paid one, you can have full access to all the features and components.
Alternative Installation Methods for OnlyOffice on Rocky Linux 8
While the article covers RPM and Flatpak installations, here are two alternative methods, offering different approaches to deploying OnlyOffice on Rocky Linux 8:
1. Installing OnlyOffice via Snap Package
Snap is another universal package manager, similar to Flatpak, that simplifies software installation across various Linux distributions. Installing OnlyOffice via Snap provides a self-contained environment, managing dependencies effectively and offering automatic updates.
Explanation:
Snaps are containerized software packages that include all their dependencies. This ensures that the application runs consistently across different systems without dependency conflicts. Snap packages are particularly useful for users who want to keep their system clean and avoid potential compatibility issues.
Installation Steps:
First, ensure that Snapd is installed on your Rocky Linux 8 system. If not, install it using the following commands:
sudo dnf install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
Once Snapd is installed and running, install OnlyOffice using the following command:
sudo snap install onlyoffice-desktopeditors
After the installation is complete, you can launch OnlyOffice directly from the command line or through the desktop environment. To launch from the command line, type:
onlyoffice-desktopeditors
Benefits:
- Simplicity: Easy installation and updates with a single command.
- Dependency Management: Snap handles all dependencies within the container.
- Automatic Updates: Snap packages are automatically updated in the background.
2. Installing OnlyOffice via Docker
Docker provides a containerization platform, allowing you to run OnlyOffice within a containerized environment. This approach is particularly useful for deploying the OnlyOffice Document Server, which allows for collaborative document editing.
Explanation:
Docker containers provide a consistent and isolated environment for running applications. By using Docker, you can ensure that OnlyOffice runs smoothly, regardless of the underlying system configuration. This method is ideal for users who want to integrate OnlyOffice into a larger infrastructure or who require a server-based deployment.
Installation Steps:
First, install Docker on your Rocky Linux 8 system.
sudo dnf install docker-ce --nobest -y
sudo systemctl start docker
sudo systemctl enable docker
Next, pull the OnlyOffice Document Server image from Docker Hub.
sudo docker pull onlyoffice/documentserver
Once the image is downloaded, you can run the OnlyOffice Document Server container.
sudo docker run -i -t -d -p 80:80 onlyoffice/documentserver
This command starts the OnlyOffice Document Server in detached mode (-d) and maps port 80 on the host to port 80 on the container.
You can then access the OnlyOffice Document Server by navigating to your server’s IP address in a web browser.
Benefits:
- Isolation: Runs in a containerized environment, ensuring isolation and consistency.
- Scalability: Easy to scale and manage using Docker orchestration tools.
- Centralized Management: Ideal for deploying the OnlyOffice Document Server for collaborative editing.
Example Docker Compose File:
For more complex deployments, you can use a Docker Compose file to define the OnlyOffice Document Server and its dependencies.
version: "3.7"
services:
onlyoffice:
image: onlyoffice/documentserver
ports:
- "80:80"
restart: always
Save this file as docker-compose.yml
and run the following command to start the OnlyOffice Document Server:
sudo docker-compose up -d
These alternative methods, using Snap and Docker, provide flexibility and options for deploying OnlyOffice on Rocky Linux 8, catering to different user needs and technical environments. These methods are useful to Install OnlyOffice on Rocky Linux 8.