Installing Online Editors on Debian and Ubuntu with ONLYOFFICE Document Server

This tutorial explains the installation of ONLYOFFICE and the ONLYOFFICE Document Server on Debian and Ubuntu.

System Requirements and ONLYOFFICE Dependencies

For ONLYOFFICE Document Server correct work your machine should meet some system requirements and have some additional components installed:

  • RAM: 2 GB or more
  • Swap file: at least 2 GB
  • HDD: at least 2 GB of free space
  • Distributive: Debian, Ubuntu or other compatible distributive
  • mono: version 4.0.0 or later
  • MySQL: version 5.6.4 or later
  • nginx: version 1.3.13 or later
  • nodejs: version 0.10 or later
  • libstdc++6: version 4.9 or later
  • The installation instructions for Mono, MySQL and other ONLYOFFICE dependencies can be found on their official websites.

A detailed installation guide for the ONLYOFFICE installation on CentOS can be found here:

Installing ONLYOFFICE Online Editors

Step 1. Open Terminal using Ctrl+Alt+T

Step 2. Download ONLYOFFICE GPG signing key:

sudo wget

And add it to the system:

sudo apt-key add onlyoffice.key

Step 3. Add ONLYOFFICE repository to the list stored in the /etc/apt/sources.list file.
To do that, open the /etc/apt/sources.list file using any available text editor (e.g. nano):

sudo nano /etc/apt/sources.list

Add the following record:

deb squeeze main

Update the package cache:

sudo apt-get update

Step 4. Execute the following command to install online editors:

sudo apt-get install onlyoffice-documentserver

Running ONLYOFFICE Online Editors

To open the program and start editing your docs, enter localhost ( in the address bar of your browser.

  • To run ONLYOFFICE Document Server using secure connection (HTTPS), use the Docker image.
  • To install ONLYOFFICE Document Server integrated with Community Server, follow the instructions here.
  • For source code and binary information, visit
  • For any support questions, refer to
Share this page:

5 Comment(s)

Add comment


From: Lankmiller

Gradually growing quality makes it possible to compare product to MS 365 and Gogol Doc. Nice job!

From: Al

That's don't work on ubuntu 14.04

dependencies problems :

 onlyoffice-documentserver : Dépend: libstdc++6 (>= 4.9.0) mais 4.8.2-19ubuntu1 devra être installé                             Dépend: mysql-server-5.6 (>= 5.6.4) mais ne sera pas installé                             Dépend: mono-complete (>= 4.0.0) mais 3.2.8+dfsg-4ubuntu1.1 devra être installé


From: Tati

For any support questions, please visit the forum.

From: Gboule

HI, i success to install onlyoffice documents editor only, but i want to make it in french and i don't solved this. can you help me?

From: falcon7700

Excellent!  Finally some sw distritbuted as a DEB.  Much easier...