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:

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