> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/core/learn-more/platform-specifics/deployment/linux-dependencies.md).

# Linux Dependency Instructions

Learn how to install missing dependencies for HTML2PDF on Linux. Follow step-by-step instructions to ensure Chromium-based module works seamlessly on your system. The Apryse Server SDK streamlines sec

## HTML2PDF Linux - Missing Dependency Installation

The new HTML2PDF module for the Apryse SDK is based on Chromium and requires some of the same dependencies as the Chromium browser that may not be installed in your specific Linux distribution. The following describes how to determine what required shared object dependencies are not installed in your system and how to install them using AWS Ubuntu 18.04.6 LTS image as an example.

Once you have downloaded and extracted the HTM2PDF module to your local environment you can use “ldd” to list the module shared object dependencies. Here is the result of running ldd on the HTML2PDF module on a fresh Ubuntu virtual machine.

> ldd ./html2pdf\_chromium.so

![](https://3779731113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fziw3GiL98Xfj63F3He8h%2Fuploads%2Fgit-blob-fda33148c9b3745a00232d3ea5a1865c0c0c1c4d%2F5c4015782f21b7b051aacb919aac6b40f48943cc-624x181.png?alt=media)

On this particular Linux distribution, the Network Security Service (libnss3) libraries are not installed by default and must be installed manually. You can install them on Ubuntu with the following command:

> apt install libnss3

Once you have installed the missing dependencies the output from ldd should look like this:

![](https://3779731113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fziw3GiL98Xfj63F3He8h%2Fuploads%2Fgit-blob-0350d7a599d5c61e5ddec5fd092c4e638adb5696%2F46f4e169550cc28e109a10d1490f6bed08559d82-624x219.png?alt=media)

The list of missing dependencies will vary across the different Linux distributions, but ldd should list packages that need to be installed. Note: The example depicted here was created on a Debian based distribution and therefore uses apt to install software packages, use yum with RHEL systems.

**Font Configuration Installation** The module also requires the Fontconfig library be installed on all distributions. It can be installed with the following command(s).

> apt install fontconfig


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.apryse.com/core/learn-more/platform-specifics/deployment/linux-dependencies.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
