Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124

How to install libxslt on Ubuntu 16.04 LTS, 18.04 LTS and 19.04

Today we’ll look at how to install libxslt on Ubuntu 16.04 LTS, 18.04 and 19.04.

You may need to install this if you want to compile and install NGINX from the source. An error requiring it may look something like this:

./configure: error: the HTTP XSLT module requires the libxml2/libxslt libraries. You can either do not enable the module or install the libraries.

To install libxslt on Ubuntu, issue one of the two following commands on the terminal:

sudo apt-get install libxslt-dev

OR

sudo snap install libxslt