Installing OnlyOffice on Linux (Your Microsoft Office Alternative)

Linux TLDR
Last Updated:
Reading time: 3 minutes

OnlyOffice stands out as a leading Linux alternative to Microsoft Office, offering a very similar interface, so if you are migrating from a Windows to Linux environment, then this will suit you better than LibreOffice.

It provides a range of office productivity tools for creating, editing, and collaborating on documents, spreadsheets, and presentations, just like Microsoft Office.

In this article, you will learn how to install OnlyOffice on your preferred Linux distribution.

Tutorial Details

Difficulty LevelLow
Root or Sudo PrivilegesYes
OS CompatibilityUbuntu, Manjaro, Fedora, etc.
Internet RequiredYes (for installation)

How to Install OnlyOffice on Linux

OnlyOffice can be installed on Linux systems either through sandboxed technologies like Snap or Flatpak or by adding a repository and using your default package manager.

You can also download the official “.deb” or “.rpm” package file from the official site and install it locally on your Linux system, but I don’t recommend it. So, let’s begin with…

Installing OnlyOffice via Snap

First, make sure you have the most up-to-date Snap version on your Linux system, and then proceed to install the latest OnlyOffice Snap package with the following command:

$ sudo snap install onlyoffice-desktopeditors

Installing OnlyOffice via Flatpak

If you have Flatpak installed on your Linux system and you want to use it for installing OnlyOffice, execute the following command:

$ flatpak install flathub org.onlyoffice.desktopeditors

Installing OnlyOffice on a Debian or Ubuntu-Based Distribution

The better option to install OnlyOffice on this system is to add the provided repository and use the default package manager. To begin, follow:

1. Add a GPG key:

$ gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --keyserver hkp:// --recv-keys CB2DE8E5
$ chmod 644 /tmp/onlyoffice.gpg
$ sudo chown root:root /tmp/onlyoffice.gpg
$ sudo mv /tmp/onlyoffice.gpg /usr/share/keyrings/onlyoffice.gpg

2. Add desktop editors repository:

$ echo 'deb [signed-by=/usr/share/keyrings/onlyoffice.gpg] squeeze main' | sudo tee -a /etc/apt/sources.list.d/onlyoffice.list

3. Update the package database and install the latest OnlyOffice editor using the following command:

During installation, you may be asked to agree to the license agreement; just choose “yes“.
$ sudo apt update
$ sudo apt install onlyoffice-desktopeditors

Installing OnlyOffice on a RHEL or Fedora-Based Distribution

To install it on your RHEL or Fedora-based distros, simply follow the steps below:

1. Add the yum repository with the following command:

$ sudo yum install

2. Add the EPEL repository with the following command:

$ sudo yum install epel-release

3. Now the editors can be easily installed using the following command:

$ sudo yum install onlyoffice-desktopeditors -y

Installing OnlyOffice on an Arch or Manjaro-Based Distribution

The application is available in AUR (Arch User Repository), so you can easily install it with the help of AUR helpers like Yay.

$ yay -S onlyoffice-desktopeditors

How to Launch OnlyOffice After Installation

The easiest way to search for and launch OnlyOffice is by searching for it in your Linux distributions search menu, as shown.

Locating onlyoffice on linux

Upon launching it, you’ll be presented with a window resembling the one shown below.

onlyoffice on linux

Now, the rest should be straightforward and self-explanatory, so I’ll leave it to you to explore on your own.

How to Update OnlyOffice on Linux

The update process for OnlyOffice is quite simple. If you choose the Snap or Flatpak method, then simply execute one of the following commands:

$ sudo snap refresh onlyoffice-desktopeditors                                              #For Snap
$ flatpak update org.onlyoffice.desktopeditors                                              #For Flatpak

If you’ve added the repository and used your system’s package manager for installation, then you can simply update your system using the usual command, and just like other applications, OnlyOffice will be updated to the latest available version.

How to Remove OnlyOffice from Linux

To remove OnlyOffice from your Linux system, simply use one of the following commands based on your installation method:

$ sudo snap remove onlyoffice-desktopeditors                                              #For Snap
$ flatpak uninstall org.onlyoffice.desktopeditors                                             #For Flatpak
$ sudo apt remove onlyoffice-desktopeditors                                                 #For Debian, Ubuntu, Linux Mint
$ sudo yum remove onlyoffice-desktopeditors                                               #For RHEL, Fedora, AlmaLinux
$ yay -R onlyoffice-desktopeditors                                                                    #For Arch, Manjaro, EndeavourOS

Final Word

I hope you find this article useful. If you have any questions or are facing any difficulty while following the steps mentioned, then do let us know in the comment section.

Till then, peace!

Join The Conversation

Users are always welcome to leave comments about the articles, whether they are questions, comments, constructive criticism, old information, or notices of typos. Please keep in mind that all comments are moderated according to our comment policy.

4 thoughts on “Installing OnlyOffice on Linux (Your Microsoft Office Alternative)”

    • LibreOffice is excellent without a doubt, but individuals temporarily switching to Ubuntu or other Linux distributions for work might find it overwhelming. In such cases, alternative office suites like OnlyOffice can be a better choice.

  1. I installed Only Office on Linux Mint. But still, Libre office is the default software when opening a document.
    Which steps should I follow to make Only Office the The default instead of libre office?