VOOZH about

URL: https://itsfoss.com/install-onlyoffice-ubuntu/

โ‡ฑ Installing ONLYOFFICE on Ubuntu Linux (And Remove it Later)


๐Ÿ‘ Ghostboard pixel

Installing ONLYOFFICE on Ubuntu

Learn how to install and remove ONLYOFFICE in deb format from its official repositories.
Sreenath
3 min read
๐Ÿ‘ Warp Terminal

ONLYOFFICE 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.

๐Ÿ‘ Image

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

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.

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
Open with Software Install

Install it using the install button.

๐Ÿ‘ Install ONLYOFFICE deb file using GNOME Software center
Install using GNOME Software

Or, you can install the deb file using Gdebi.

๐Ÿ‘ Install ONLYOFFICE Deb file using Gdebi package installer
Install using Gdebi

Similarly, you can use the apt command to install. Open a terminal and run:

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

ONLYOFFICE is a good choice for a modern office experience on Linux. It can also be integrated with ChatGPT and other AI tools thus giving you an edge on productivity.

About the author

Sreenath

Linux tinkerer by day, Lord of the Rings fanatic by night. When I'm not busy conquering the command line, you can find me kicking back and watching some football while quoting JRR Tolkien

Read next

Installing GitHub Desktop on Ubuntu Linux (Because I Like it)

Itching to Try the Hot COSMIC DE on Ubuntu Linux? Here's an Easy Way

Installing Notion on Linux: What are your options?

How I Run HTML Code in VS Code

Cropping a Video in VLC

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

๐Ÿ‘ itsfoss happy penguin