Install third-party Software on Ubuntu

To have additional features like the full preview, you need to install some external components.

Conversion to PDF

This feature allows you to convert an office type document in pdf format. Requires the presence on the system of LibreOffice.


LibreOffice is the office suite of reference for Ubuntu, in many systems is pre-installed by default, so check if you have already installed on your system before running the commands below.

$ libreoffice –-version (suggested v5.3.0)

Get the installation path of your LibreOffice

$ whereis libreoffice

This is the path you should use to fill-in the field "LibreOffice path"

$ /usr/lib/libreoffice 

Preview of Documents

The preview of the documents allows you to view the contents of the documents without having to actually download, it is also optimized for large documents. Note: Requires the presence of the tool for conversion to PDF (see Convert to PDF)


You have to install and configure ImageMagick (rel 6.6 or greater). LogicalDOC uses ImageMagick to manipulate images for previewing. Verify if ImageMagick is already installed on your system. You can run the convert command, which is part of ImageMagick and usually located in /usr/bin. If ImageMagick is not present, browse to the ImageMagick download site and install the appropriate package for your platform.

On Ubuntu 12.04 LTS minimal you can install ImageMagick by executing this command:

$ sudo apt-get install imagemagick
$ whereis convert
$ convert –version


LogicalDOC needs to print documents to a virtual device sometimes when performing barcode recognition. In general GhostScript is a package installed by default in all Linux distributions.

To install it on Ubuntu, execute this command:

$ sudo apt-get install ghostscript


Tesseract is an Open Source OCR engine adopted by Google. This package represents the basic OCR engine available on LogicalDOC and it is required only if you want to extract texts inside images.

$ sudo apt-get install tesseract-ocr


This is a converter from Pdf to HTML format, LogicalDOC makes use of this utility to prepare the documents for annotations. Without this you will not be able to insert annotations inside the content of the document.

To install it on Ubuntu, execute this command:

$ sudo apt-get install xpdf