How To Install libxslt on Fedora 34
Introduction
In this tutorial we learn how to install libxslt
on Fedora 34.
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 libxslt 1.1.34 5.fc34 x86_64 244 k libxslt-1.1.34-5.fc34.src.rpm fedora Library providing the Gnome XSLT engine http MIT 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libxslt.
Install libxslt on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libxslt
using dnf
by running the following command:
sudo dnf -y install libxslt
Install libxslt on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the libxslt
package we can use the following command:
sudo dnf remove libxslt
libxslt Package Contents on Fedora 34
/usr/bin/xsltproc
/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/3cf5f8d34c965e7691a502afeaae32da8125a0
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/59856d98415589b0f7af2d7108b496440070df
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/0cfc32518c997945f4f1f705cedfced4dc6e11
/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.34
/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/7a
/usr/lib/.build-id/7a/605f9d6343d7b609e86142c59f9c974513aedf
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/394c5f208e94535dd60d7f1be5f8f423cf457d
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/c4f58150b25903fcb77f5ad805c5a6c5fd42d6
/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.34
/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
- [libxslt website](http://xmlsoft.org/XSLT http://xmlsoft.org/XSLT)
Summary
In this tutorial we learn how to install libxslt
on Fedora 34 using yum and dnf.