Articles with the tag:
Close
Changelog
Close
Try in the cloud
Try in the cloud
Help Center
ONLYOFFICE Desktop Editors

Compiling Desktop Editors for Ubuntu

Introduction

Desktop Editors is an application that allows to edit documents, spreadsheets and presentations stored on your computer in the offline mode. It’s also possible to connect Desktop Editors to your cloud and edit documents collaboratively.

You can easily compile Desktop Editors from source codes using the specially designed build_tools. The build_tools allow to automatically get and install all the components necessary for the compilation process, all the dependencies required for the Desktop Editors correct work, as well as to get the latest version of Desktop Editors source code and build all their components.

Important! We can only guarantee the correct work of the products built from the master branch.

System requirements

Hardware

  • CPU
    dual core 2 GHz or better
  • RAM
    at least 2 GB, but depends of the host OS. More is better
  • HDD
    at least 40 GB of free space
  • SWAP
    at least 4 GB, but depends of the host OS. More is better

Software

  • OS
    64-bit Ubuntu 16.04
The solution has been tested on Ubuntu 16.04. Other distributions might require some specific actions which are not described here.

Installing dependencies

You might need to install Python and Git if they are not yet installed on your computer. This can be done using the following command:

sudo apt-get install -y python git

Building Desktop Editors source code

  1. Clone the build_tools repository:
    git clone https://github.com/ONLYOFFICE/build_tools.git
    
  2. Go to the build_tools/tools/linux directory:
    cd build_tools/tools/linux
    
  3. Run the automate.py script specifying the desktop parameter to compile the Desktop Editors:
    ./automate.py desktop
    
    If you run the script without any parameters, this will build Desktop Editors alongside with Document Server and Document Builder.
    ./automate.py
    
    If necessary, you can build several products at once by running the script with the parameters corresponding to the necessary products. To learn more about compiling Document Server you can read this article. To learn more about compiling Document Builder please refer to this article.

Wait while the script is being executed. Depending on your computer capabilities, this process may take considerable time. For example, this takes 3 hours at least on Intel Core i7-7700.

The script will compile all the dependencies and components which are a part of Desktop Editors.

The build will be available in the ../../out/linux_64/onlyoffice/desktopeditors/ directory. Now you can proceed to running Desktop Editors on your server.

Running Desktop Editors

Go to the ../../out/linux_64/onlyoffice/desktopeditors/ directory

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

Execute the following command:

LD_LIBRARY_PATH=./ ./DesktopEditors
Download No more Microsoft All main platforms support:
Windows, Linux and Mac OS
You Might Also Like This:
Close