Home » Guides » Install OnlyOffice On Linux: Ubuntu, Debian, CentOS, RHEL, Deepin, etc.

Install OnlyOffice On Linux: Ubuntu, Debian, CentOS, RHEL, Deepin, etc.

Most of you have already used and loved the Microsoft Office Suite. However, if you are looking for something other than Microsoft, then OnlyOffice can be a great choice. It is a free and open-source office suite that is available on most Linux distributions, Windows, and macOS. The office suite includes applications and document editors that can handle texts, documents, spreadsheets, presentations, team collaborations, and so on. It is also compatible with the Office Open XML format and other file types like ODF, CSV, HTML, PDF, etc.

Previously known as TeamLab, OnlyOffice has an ecosystem of collaborative applications. If you want, you can totally replace other legacy office suites in favor of OnlyOffice. So learn how to install OnlyOffice on different Linux distributions in the following article.

Table Of Contents

What Is OnlyOffice?

OnlyOffice is a document editor and a suite of related applications available for most operating systems. It is an open-source software licensed under AGPLv3. There are three editors, for documents, spreadsheets, and presentations. These files are also natively compatible with the Microsoft Office file formats. 

onlyoffice, install onlyoffice on linux
OnlyOffice

By using OnlyOffice, you can do the following:

  • Open and edit Word, Excel, and PowerPoint files without any compatibility issues. 
  • Supports other popular formats like DOC, ODT, PDF, HTML, TXT, RTF, XPS, EPUB, XLS, ODS, CSV, ODP, and PPT.
  • Tons of editing options and formatting features.
  • Insert complex objects like charts, audio, images, shapes, etc. in documents. 
  • Third-party plugins like YouTube, Translator, Thesaurus, etc. are supported. 
  • Password protection
  • Real-time team collaboration and cloud support.

Features Of OnlyOffice

These are the features OnlyOffice has to offer:

  • Great functionality: The office suite offers cloud storage, mail, chat, forum, formatting tools, editing, and so on.
  • Academic formatting and navigation: Supports drop caps, footnotes, table of contents, bookmarks, forms, etc.
  • Plugin support: You can get third-party plugins to enhance your experiences, such as creating bibliographies, thesaurus, translation, custom charts, video conferencing, and much more. 
  • Intuitive design and user-friendly UI.
  • Highly flexible and customizable for both personal and professional use. 
  • It is highly scalable and can work for both small enterprises to large corporations.
  • Highly cost-efficient since it is free and open-source.
  • Custom security features for data protection, monitoring, and backup.
  • Remote access and mobile.

System Requirements

  • CPU: dual-core 2 GHz or better
  • RAM: at least 2 GB
  • HDD: 2 GB min.
  • OS: 64-bit
  • Kernel: 3.8 or higher version

How To Install OnlyOffice On Linux?

There are several methods to install OnlyOffice on Linux. These are as follows:

Method 1. Compile OnlyOffice On Linux

One of the easiest methods is to compile OnlyOffice from source code using the specially designed build_tools. It allows you to automatically get and install all the required components of OnlyOffice. All you have to do is:

Step 1. First, you have to install Python and Git if they are not yet installed on your computer. 

sudo apt-get install -y python git

Step 2. Now, clone the build_tools repository:

git clone https://github.com/ONLYOFFICE/build_tools.git

Step 3. After that visit the build_tools/tools/linux directory:

cd build_tools/tools/linux

Step 4. Then run the automate.py script to specify the desktop parameter and compile OnlyOffice:

./automate.py desktop

Step 5. Now, go to the directory where you compiled the files:

cd ../../out/linux_64/onlyoffice/desktopeditors

Step 6. Finally, execute the command to run it:

LD_LIBRARY_PATH=./ ./DesktopEditors

Method 2. Install OnlyOffice On Linux From Repositories

You can always install OnlyOffice from native Linux repositories.

On Debian/Ubuntu

Step 1. First, add the 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

Step 2. Then, add the 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

Step 3. Now, update the APT repo:

sudo apt-get update

Step 4. Now, install OnlyOffice:

sudo apt-get install onlyoffice-desktopeditors

For RHEL/CentOS

Step 1. Start by adding the yum repository

sudo yum install https://download.onlyoffice.com/repo/centos/main/noarch/onlyoffice-repo.noarch.rpm

Step 2. Now, add the EPEL repository with the following command:

sudo yum install epel-release
For Systems Running RHEL
sudo subscription-manager repos --enable codeready-builder-for-rhel-$REV-$(arch)-rpms
sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$REV.noarch.rpm

Step 3. Finally, install OnlyOffice

sudo yum install onlyoffice-desktopeditors -y

On Deepin

You can use the same commands as Debian to install OnlyOffice on Deepin. However, it is far easier and faster to use the App Store as per the following guide.

  1. First, open the App Store.
  2. Then, search for OnlyOffice Desktop Editors.
  3. Lastly, click on the ‘Install’ button. Once the file is downloaded, open it and follow the instructions on-screen.

On Endless OS

Open the terminal and enter the following command:

Those using Flatpak
flatpak install flathub org.onlyoffice.desktopeditors
Those using the DEB Package
apt install onlyoffice-desktopeditors

You can also use Flathub to install OnlyOffice:

  1. First, visit Flathub.
  2. Then, go to the Productivity section.
  3. Here, look for OnlyOffice.
  4. Once found, install it.

For Arch Linux

Step 1. First, clone the onlyoffice-bin repository:

git clone https://aur.archlinux.org/onlyoffice-bin.git

Step 2. Compile the file:

cd onlyoffice-bin
makepkg -si

Step 3. Now use an Arch Linux helper to install OnlyOffice:

With YAY
yay -S onlyoffice-bin
Using Trizen
trizen -S onlyoffice-bin
With Pikaur
pikaur -S onlyoffice-bin

For OpenSUSE

Step 1. First, download the official OnlyOffice RPM Package:

wget https://download.onlyoffice.com/install/desktop/editors/linux/onlyoffice-desktopeditors.x86_64.rpm

Step 2. Now install the package:

sudo zypper install ./onlyoffice-desktopeditors.x86_64.rpm

Step 3. Finally, launch OnlyOffice

onlyoffice-desktopeditors

For Manjaro

You will need to install OnlyOffice on Manjaro via Pamac:

  1. First, click the Add/Remove Software button and then launch Pamac.
  2. Then, find OnlyOffice in the list.
  3. Finally, click on Install and choose the Apply button.

On SparkyLinux

Step 1. Run the following command in terminal:

apt update
apt install onlyoffice-desktopeditors

You can also use the APTus App Center to install OnlyOffice:

  1. First, open the main menu and go to System.
  2. In the System list, look for APTus App Center.
  3. Click on it to launch the app center.
  4. Then, choose the Office directory.
  5. And finally, look for OnlyOffice.

Method 3. Install OnlyOffice On Linux Using AppImage

AppImages are single-file apps that run on most Linux distributions. You just need to download the OnlyOffice AppImage, make it executable, and run it.

Step 1. First, visit the official OnlyOffice Github release page.

Step 2. Download the OnlyOffice AppImage. Or:

wget https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v8.1.1/ONLYOFFICE-DesktopEditors-x86_64.AppImage

Step 3. Navigate to the directory where you downloaded the AppImage.

Step 4. Then, make the file executable 

chmod +x ONLYOFFICE-DesktopEditors-x86_64.AppImage

Step 5. Lastly, launch OnlyOffice:

./ONLYOFFICE-DesktopEditors-x86_64.AppImage

Method 4. Use Snap To Install OnlyOffice

Step 1. First, install Snap:

sudo apt update
sudo apt install snapd

Step 2. Then use Snap to install OnlyOffice

snap install onlyoffice-desktopeditors

Method 5. Installing OnlyOffice Using Flatpak

Step 1. Start by installing Flatpak:

sudo apt install flatpak

Step 2. Then, install the Flatpak plugin for the Software app

sudo apt install gnome-software-plugin-flatpak

Step 3. Now, add the Flathub repository:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Step 4. Restart your system.

Step 5. Finally, run the command to install OnlyOffice:

flatpak install flathub org.onlyoffice.desktopeditors
Gilbert John Avatar