Linux MintUbuntu Based

How To Install OnlyOffice on Linux Mint 21

Install OnlyOffice on Linux Mint 21

In this tutorial, we will show you how to install OnlyOffice on Linux Mint 21. OnlyOffice is a feature-rich office suite that provides a complete set of tools for creating, editing, and collaborating on documents, spreadsheets, and presentations. With its intuitive interface and extensive compatibility with Microsoft Office and OpenDocument formats, OnlyOffice enables users to work efficiently across different platforms. One of the key advantages of OnlyOffice is its ability to integrate with popular cloud services such as Nextcloud and ownCloud, facilitating seamless collaboration and file synchronization. Whether you’re working independently or as part of a team, OnlyOffice offers a robust solution for your productivity needs.

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 the OnlyOffice on Linux Mint 21.


  • A server running one of the following operating systems: Linux Mint 21.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • While we’ll guide you through the process, a basic understanding of the command line will be beneficial. If you’re new to the CLI, you might want to acquaint yourself with some fundamental commands.
  • An active internet connection.
  • Administrative privileges are essential for installing and configuring software on your system. Ensure that you have superuser or sudo access.

Install OnlyOffice on Linux Mint 21

Step 1. Update Your System.

Make sure that your Linux Mint 21 installation is up to date by running the following commands in the terminal:

sudo apt update
sudo apt upgrade

These commands update the list of available packages and their versions and install the newer versions of the packages you currently have.

Step 2. Installing OnlyOffice on Linux Mint 21.

  • Method 1: Installing OnlyOffice via Flatpak

Flatpak is a popular package management system that allows you to install applications in a sandboxed environment, ensuring better security and isolation from the host system. To install OnlyOffice using Flatpak, follow these steps:

sudo apt install flatpak

Add the Flathub repository, which hosts a wide range of Flatpak applications, including OnlyOffice:

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

Install OnlyOffice using Flatpak with the following command:

flatpak install flathub org.onlyoffice.desktopeditors

Once the installation is complete, you can launch OnlyOffice from the application menu or by running the following command in the terminal:

flatpak run org.onlyoffice.desktopeditors

Using Flatpak to install OnlyOffice offers several advantages, such as easy updates, the ability to run multiple versions of the application side by side, and improved security through sandboxing.

  • Method 2: Installing OnlyOffice via Snap

Snap is another popular package management system that provides a convenient way to install and manage applications on Linux. To install OnlyOffice using Snap, follow these steps:

sudo apt install snapd

Once Snap is installed, you can proceed with installing OnlyOffice using the following command:

sudo snap install onlyoffice-desktopeditors

After the installation is complete, you can launch OnlyOffice from the application menu or by running the following command in the terminal:

snap run onlyoffice-desktopeditors

Snap offers benefits such as automatic updates, easy rollbacks to previous versions, and confinement of applications for enhanced security.

Method 3: Installing OnlyOffice via .deb Package

If you prefer to install OnlyOffice using a .deb package, you can download it directly from the official OnlyOffice website. Follow these steps to install OnlyOffice using a .deb package:

    1. Open your web browser and visit the OnlyOffice website.
    2. Scroll down to the “Linux” section and click on the “Download” button next to the .deb package.
    3. Once the download is complete, open a terminal and navigate to the directory where the .deb package was downloaded.
    4. Run the following command to install OnlyOffice:
sudo dpkg -i onlyoffice-desktopeditors_amd64.deb

If there are any missing dependencies, you can resolve them by running:

sudo apt install -f

After the installation is complete, you can launch OnlyOffice from the application menu or by running the following command in the terminal:


Congratulations! You have successfully installed OnlyOffice. Thanks for using this tutorial to install the latest version of the OnlyOffice on the Linux Mint system. For additional help or useful information, we recommend you check the official OnlyOffice website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!


r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button