Installing on Debian, Ubuntu and derivatives

The desktop version of online editors does not require constant connection to the internet and can work with local files.

To install Desktop Editors, you can use one of the following options:

  • download a .deb package from our website,
    Only 64-bit versions of Linux are supported.

    After you press the download button for the required package, some browsers may suggest choosing a target directory. Select it, and the download process will start. When it is complete, run the downloaded package file to install the Desktop Editors on your computer.

  • use AppImage, Flatpak, Snap,
  • add the repository to your Linux OS and update it afterwards just like any other Linux application.

This guide describes installing ONLYOFFICE Desktop Editors from repository.

Installing ONLYOFFICE Desktop Editors from repository

A better option to install desktop editors is to add their repository to your Linux OS. To do that:

  1. Add GPG key:
    mkdir -p -m 700 ~/.gnupg
    gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --keyserver hkp://keyserver.ubuntu.com:80 --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] https://download.onlyoffice.com/repo/debian squeeze main' | sudo tee -a /etc/apt/sources.list.d/onlyoffice.list
    While the APT package is built against Debian Squeeze, it is compatible with a number of Debian derivatives (including Ubuntu) which means you can use the same repository across all these distributions.
  3. Update the package manager cache:
    sudo apt-get update
  4. Now the editors can be easily installed using the following command:
    sudo apt-get install onlyoffice-desktopeditors

Running ONLYOFFICE Desktop Editors

Once the installation is over, you can run the editors using the terminal command:

desktopeditors

In case you prefer to use graphical user interface, you can always find the editors in your computer Application menu - Office - ONLYOFFICE.

Run ONLYOFFICE Desktop Editors Run ONLYOFFICE Desktop Editors

Uninstalling ONLYOFFICE Desktop Editors

Uninstalling Desktop Editors will permanently delete associated local data, including application configuration and preference files, cached data and temporary files, local service files and user-generated data used for application startup, andother files and records created by the application during its use. This action is irreversible. Once uninstalled, the data listed above cannot be recovered unless you have created a backup prior to uninstallation. If you wish to preserve any of this data, please back it up manually before proceeding with the uninstallation.

On Debian, Ubuntu and derivatives, uninstalling apps is possible with OR without retaining application data and configuration details.

To retain app data and configuration details, enter the following command in the command line:

sudo apt-get remove onlyoffice-desktopeditors

To delete app data and configuration details, enter the following command in the command line:

sudo apt-get purge onlyoffice-desktopeditors

Regularly, there shall remain no residual files after removal using common system methods. However, if any, run the following command to remove anything that may still remain:

sudo rm -rf /opt/onlyoffice
sudo rm -rf /opt/onlyoffice
sudo rm -f /usr/share/applications/onlyoffice-desktopeditors.desktop
sudo rm -f /usr/local/share/applications/onlyoffice-desktopeditors.desktop
sudo rm -f /usr/bin/desktopeditors
sudo rm -f /usr/local/bin/desktopeditors
sudo rm -rf ~/.config/onlyoffice
sudo rm -rf ~/.local/share/onlyoffice
sudo rm -rf ~/.cache/onlyoffice

Watch video

How to install ONLYOFFICE Desktop Editors on Ubuntu
How to download ONLYOFFICE to Windows, Mac, and Linux?
Article with the tag:
Browse all tags