How To Install libxslt.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libxslt.x86_64 in Amazon Linux 2. libxslt.x86_64 is Library providing the Gnome XSLT engine

Introduction

In this tutorial we learn how to install libxslt.x86_64 on Amazon Linux 2.

What is libxslt.x86_64

This C library allows to transform XML files into other XML files (or HTML, text, …) using the standard XSLT stylesheet transformation mechanism. To use it you need to have a version of libxml2 >= 2.6.27 installed. The xsltproc command is a command line interface to the XSLT engine

We can use yum to install libxslt.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libxslt.x86_64.

Install libxslt.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libxslt.x86_64 using yum by running the following command:

sudo yum -y install libxslt.x86_64

How To Uninstall libxslt.x86_64 on Amazon Linux 2

To uninstall only the libxslt.x86_64 package we can use the following command:

sudo yum remove libxslt.x86_64

libxslt.x86_64 Package Contents on Amazon Linux 2

/usr/bin/xsltproc
/usr/lib64/libexslt.so.0
/usr/lib64/libexslt.so.0.8.17
/usr/lib64/libxslt-plugins
/usr/lib64/libxslt.so.1
/usr/lib64/libxslt.so.1.1.28
/usr/share/doc/libxslt-1.1.28
/usr/share/doc/libxslt-1.1.28/AUTHORS
/usr/share/doc/libxslt-1.1.28/ChangeLog.gz
/usr/share/doc/libxslt-1.1.28/Copyright
/usr/share/doc/libxslt-1.1.28/FEATURES
/usr/share/doc/libxslt-1.1.28/NEWS
/usr/share/doc/libxslt-1.1.28/README
/usr/share/man/man1/xsltproc.1.gz

References

Summary

In this tutorial we learn how to install libxslt.x86_64 on Amazon Linux 2 using yum.