> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Installing ONLYOFFICE on Ubuntu
- URL: https://itsfoss.com/install-onlyoffice-ubuntu/
- Published: 2024-05-16T05:43:55.000Z
- Updated: 2024-06-30T06:04:48.000Z
- Description: Learn how to install and remove ONLYOFFICE in deb format from its official repositories.
- Author: Sreenath
- Tags: Installation 📥, #hide

[ONLYOFFICE](https://www.onlyoffice.com/?ref=itsfoss.com) is an open source office software. Initially started as an enterprise-focused online collaboration tool, it now offers desktop tools for individuals that can be used offline as well.

Want to try it? There are many ways to use ONLYOFFICE on Linux.

There are Snap, Flatpak and AppImage packages available.

![](https://itsfoss.com/content/images/2024/05/onlyoffice-linux-download.webp)

## Easy method: Use the snap package from App Store

The effortless method here would be to use the App Store (formerly Ubuntu Software Center) and look for ONLYOFFICE.

The package is named ONLYOFFICE Desktop Editors. Install it from there.

![ONLYOFFICE in Ubuntu Software Center](https://itsfoss.com/content/images/2024/05/onlyoffice-ubuntu.png)

You can remove it the same way from the App Store.

Apart from that, ONLYOFFICE can also be installed in Ubuntu either using the DEB file available to download from the official repository or through setting up the ONLYOFFICE repository.

Let's discuss that.

## Method 2: Install ONLYOFFICE with DEB File

⚠️

This method does not add a repository to your system. This means if there is an update available, you'll have to download the .deb file again. Method 3 takes care of that.

First, go to ONLYOFFICE official website and download the Deb file.

[Download ONLYOFFICE](https://www.onlyoffice.com/download-desktop.aspx?ref=itsfoss.com)

If you have GNOME Software installed, right-click on the downloaded deb file and select “Software Install”.

![Open the ONLYOFFICE deb file using GNOME Software center](https://itsfoss.com/content/images/2024/05/open-with-software-install.png)

Open with Software Install

Install it using the install button.

![Install ONLYOFFICE deb file using GNOME Software center](https://itsfoss.com/content/images/2024/05/install-onlyoffice-deb-file-with-software-center.png)

Install using GNOME Software

Or, you can [install the deb file using Gdebi](https://itsfoss.com/gdebi-default-ubuntu-software-center/).

![Install ONLYOFFICE Deb file using Gdebi package installer](https://itsfoss.com/content/images/2024/05/Install-onlyoffice-using-gdebi.png)

Install using Gdebi

Similarly, you can [use the apt command](https://itsfoss.com/apt-command-guide/) to install. Open a terminal and run:

```shell
sudo apt install <path/to/onlyoffice/deb/file>
```

## Method 3: Install it using official repository

Another way to set up ONLYOFFICE is by adding their repo to your system. First, add and configure their 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
```

Now, add the Desktop Editors’ repository to your system.

```
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

```

Once done, update your package cache and install ONLYOFFICE.

```
sudo apt update
sudo apt install onlyoffice-desktopeditors

```

That’s it. You can open ONLYOFFICE from Ubuntu activities overview.

![Open ONLYOFFICE from Ubuntu Activities Overview](https://itsfoss.com/content/images/2024/05/open-onlyffice-from-activities-overview.png)

Open ONLYOFFICE

Fedora users can get an RPM file. ONLYOFFICE is also available as a Flatpak, Snap and AppImage application. 

## Remove ONLYOFFICE

If you have installed the ONLYOFFICE through the deb file, remove it using:

```
sudo apt purge onlyoffice-desktopeditors
```

For those installed using the repository, first remove the package.

```
sudo apt purge onlyoffice-desktopeditors
```

Now, remove the repository added.

```
sudo rm /etc/apt/sources.list.d/onlyoffice.list
```

And then remove the key.

```
sudo rm /usr/share/keyrings/onlyoffice.gpg
```

Now, update your package cache.

```
sudo apt update
```

## Conclusion

ONLYOFFICE requires Microsoft fonts installed. So, if it is not already installed, you can [install by following our guide](https://itsfoss.com/install-microsoft-fonts-ubuntu/).

[How to Install Microsoft Fonts on Ubuntu Linux \[Easy Way\]Can’t find Time New Roman and other TrueType fonts in LibreOffice on Ubuntu? Here’s the easy way to install Microsoft Fonts on Ubuntu based distributions.![](https://itsfoss.com/content/images/size/w256h256/2022/12/android-chrome-192x192.png)It's FOSSDimitrios![](https://itsfoss.com/content/images/2023/03/install-Microsoft-true-type-font-files-on-linux.png)](https://itsfoss.com/install-microsoft-fonts-ubuntu/)

ONLYOFFICE is a good choice for a modern office experience on Linux. [It can also be integrated with ChatGPT](https://news.itsfoss.com/onlyoffice-chatgpt-zoom-plugins/?ref=itsfoss.com) and other AI tools thus giving you an edge on productivity.