How To Install libxslt on Rocky Linux 8
Introduction
In this tutorial we learn how to install libxslt on Rocky Linux 8.
What is libxslt
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 or dnf to install libxslt on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libxslt.
Install libxslt on Rocky Linux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libxslt using dnf by running the following command:
sudo dnf -y install libxslt
Install libxslt on Rocky Linux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libxslt using yum by running the following command:
sudo yum -y install libxslt
How To Uninstall libxslt on Rocky Linux 8
To uninstall only the libxslt package we can use the following command:
sudo dnf remove libxslt
libxslt Package Contents on Rocky Linux 8
/usr/bin/xsltproc
/usr/lib/.build-id
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/7102574bbc4618f5fc2082047aa3dcbf3dd079
/usr/lib/.build-id/68
/usr/lib/.build-id/68/33311a11d971de63e064f1887eede2baddc448
/usr/lib/.build-id/df
/usr/lib/.build-id/df/a36ca022a669b267046050042aa4212da29086
/usr/lib/libexslt.so.0
/usr/lib/libexslt.so.0.8.20
/usr/lib/libxslt-plugins
/usr/lib/libxslt.so.1
/usr/lib/libxslt.so.1.1.32
/usr/share/doc/libxslt
/usr/share/doc/libxslt/AUTHORS
/usr/share/doc/libxslt/ChangeLog
/usr/share/doc/libxslt/FEATURES
/usr/share/doc/libxslt/NEWS
/usr/share/doc/libxslt/README
/usr/share/licenses/libxslt
/usr/share/licenses/libxslt/Copyright
/usr/share/man/man1/xsltproc.1.gz
/usr/bin/xsltproc
/usr/lib/.build-id
/usr/lib/.build-id/87
/usr/lib/.build-id/87/f21a964317ec569cc2ccd144749f1deac1b2ae
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/5ddab500e06d83a1b59a1a5877f883ab3dd327
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/b5e35b1b95b6b9a0f08bfbca880a6ade1e4416
/usr/lib64/libexslt.so.0
/usr/lib64/libexslt.so.0.8.20
/usr/lib64/libxslt-plugins
/usr/lib64/libxslt.so.1
/usr/lib64/libxslt.so.1.1.32
/usr/share/doc/libxslt
/usr/share/doc/libxslt/AUTHORS
/usr/share/doc/libxslt/ChangeLog
/usr/share/doc/libxslt/FEATURES
/usr/share/doc/libxslt/NEWS
/usr/share/doc/libxslt/README
/usr/share/licenses/libxslt
/usr/share/licenses/libxslt/Copyright
/usr/share/man/man1/xsltproc.1.gz
References
Summary
In this tutorial we learn how to install libxslt on Rocky Linux 8 using yum and dnf.