How To Install libxslt-devel on CentOS 8

libxslt-devel is Development libraries and header files for libxslt Development libraries and header files for libxslt

Introduction

In this tutorial we learn how to install libxslt-devel on CentOS 8.

What is libxslt-devel

The libxslt-devel package contains libraries and header files for developing applications that use libxslt. libxslt-devel 1.1.32 6.el8 x86_64 323 k libxslt-1.1.32-6.el8.src.rpm appstream Development libraries and header files for libxslt http MIT The libxslt-devel package contains libraries and header files for developing applications that use libxslt.

We can use yum or dnf to install libxslt-devel on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install libxslt-devel.

Install libxslt-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install libxslt-devel using dnf by running the following command:

sudo dnf -y install libxslt-devel

Install libxslt-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install libxslt-devel

How To Uninstall libxslt-devel on CentOS 8

To uninstall only the libxslt-devel package we can use the following command:

sudo dnf remove libxslt-devel

libxslt-devel Package Contents on CentOS 8

/usr/bin/xslt-config
/usr/include/libexslt
/usr/include/libexslt/exslt.h
/usr/include/libexslt/exsltconfig.h
/usr/include/libexslt/exsltexports.h
/usr/include/libxslt
/usr/include/libxslt/attributes.h
/usr/include/libxslt/documents.h
/usr/include/libxslt/extensions.h
/usr/include/libxslt/extra.h
/usr/include/libxslt/functions.h
/usr/include/libxslt/imports.h
/usr/include/libxslt/keys.h
/usr/include/libxslt/namespaces.h
/usr/include/libxslt/numbersInternals.h
/usr/include/libxslt/pattern.h
/usr/include/libxslt/preproc.h
/usr/include/libxslt/security.h
/usr/include/libxslt/templates.h
/usr/include/libxslt/transform.h
/usr/include/libxslt/variables.h
/usr/include/libxslt/xslt.h
/usr/include/libxslt/xsltInternals.h
/usr/include/libxslt/xsltconfig.h
/usr/include/libxslt/xsltexports.h
/usr/include/libxslt/xsltlocale.h
/usr/include/libxslt/xsltutils.h
/usr/lib/libexslt.so
/usr/lib/libxslt.so
/usr/lib/pkgconfig/libexslt.pc
/usr/lib/pkgconfig/libxslt.pc
/usr/lib/xsltConf.sh
/usr/share/aclocal/libxslt.m4
/usr/share/doc/libxslt-devel
/usr/share/doc/libxslt-devel/API.html
/usr/share/doc/libxslt-devel/APIchunk0.html
/usr/share/doc/libxslt-devel/APIchunk1.html
/usr/share/doc/libxslt-devel/APIchunk10.html
/usr/share/doc/libxslt-devel/APIchunk11.html
/usr/share/doc/libxslt-devel/APIchunk12.html
/usr/share/doc/libxslt-devel/APIchunk13.html
/usr/share/doc/libxslt-devel/APIchunk2.html
/usr/share/doc/libxslt-devel/APIchunk3.html
/usr/share/doc/libxslt-devel/APIchunk4.html
/usr/share/doc/libxslt-devel/APIchunk5.html
/usr/share/doc/libxslt-devel/APIchunk6.html
/usr/share/doc/libxslt-devel/APIchunk7.html
/usr/share/doc/libxslt-devel/APIchunk8.html
/usr/share/doc/libxslt-devel/APIchunk9.html
/usr/share/doc/libxslt-devel/APIconstructors.html
/usr/share/doc/libxslt-devel/APIfiles.html
/usr/share/doc/libxslt-devel/APIfunctions.html
/usr/share/doc/libxslt-devel/APIsymbols.html
/usr/share/doc/libxslt-devel/EXSLT
/usr/share/doc/libxslt-devel/EXSLT/APIchunk0.html
/usr/share/doc/libxslt-devel/EXSLT/APIconstructors.html
/usr/share/doc/libxslt-devel/EXSLT/APIfiles.html
/usr/share/doc/libxslt-devel/EXSLT/APIfunctions.html
/usr/share/doc/libxslt-devel/EXSLT/APIsymbols.html
/usr/share/doc/libxslt-devel/EXSLT/bugs.html
/usr/share/doc/libxslt-devel/EXSLT/docs.html
/usr/share/doc/libxslt-devel/EXSLT/downloads.html
/usr/share/doc/libxslt-devel/EXSLT/exslt.html
/usr/share/doc/libxslt-devel/EXSLT/help.html
/usr/share/doc/libxslt-devel/EXSLT/html
/usr/share/doc/libxslt-devel/EXSLT/html/book1.html
/usr/share/doc/libxslt-devel/EXSLT/html/home.png
/usr/share/doc/libxslt-devel/EXSLT/html/index.html
/usr/share/doc/libxslt-devel/EXSLT/html/left.png
/usr/share/doc/libxslt-devel/EXSLT/html/libexslt-exslt.html
/usr/share/doc/libxslt-devel/EXSLT/html/libexslt-exsltexports.html
/usr/share/doc/libxslt-devel/EXSLT/html/libexslt-lib.html
/usr/share/doc/libxslt-devel/EXSLT/html/right.png
/usr/share/doc/libxslt-devel/EXSLT/html/up.png
/usr/share/doc/libxslt-devel/EXSLT/index.html
/usr/share/doc/libxslt-devel/EXSLT/intro.html
/usr/share/doc/libxslt-devel/EXSLT/libexslt-api.xml
/usr/share/doc/libxslt-devel/EXSLT/libexslt-refs.xml
/usr/share/doc/libxslt-devel/FAQ.html
/usr/share/doc/libxslt-devel/Libxslt-Logo-180x168.gif
/usr/share/doc/libxslt-devel/Libxslt-Logo-90x34.gif
/usr/share/doc/libxslt-devel/bugs.html
/usr/share/doc/libxslt-devel/contexts.gif
/usr/share/doc/libxslt-devel/contribs.html
/usr/share/doc/libxslt-devel/docbook.html
/usr/share/doc/libxslt-devel/docs.html
/usr/share/doc/libxslt-devel/downloads.html
/usr/share/doc/libxslt-devel/duck.png
/usr/share/doc/libxslt-devel/epatents.png
/usr/share/doc/libxslt-devel/extensions.html
/usr/share/doc/libxslt-devel/gnome2.png
/usr/share/doc/libxslt-devel/help.html
/usr/share/doc/libxslt-devel/html
/usr/share/doc/libxslt-devel/html/book1.html
/usr/share/doc/libxslt-devel/html/home.png
/usr/share/doc/libxslt-devel/html/index.html
/usr/share/doc/libxslt-devel/html/left.png
/usr/share/doc/libxslt-devel/html/libxslt-attributes.html
/usr/share/doc/libxslt-devel/html/libxslt-documents.html
/usr/share/doc/libxslt-devel/html/libxslt-extensions.html
/usr/share/doc/libxslt-devel/html/libxslt-extra.html
/usr/share/doc/libxslt-devel/html/libxslt-functions.html
/usr/share/doc/libxslt-devel/html/libxslt-imports.html
/usr/share/doc/libxslt-devel/html/libxslt-keys.html
/usr/share/doc/libxslt-devel/html/libxslt-lib.html
/usr/share/doc/libxslt-devel/html/libxslt-namespaces.html
/usr/share/doc/libxslt-devel/html/libxslt-numbersInternals.html
/usr/share/doc/libxslt-devel/html/libxslt-pattern.html
/usr/share/doc/libxslt-devel/html/libxslt-preproc.html
/usr/share/doc/libxslt-devel/html/libxslt-security.html
/usr/share/doc/libxslt-devel/html/libxslt-templates.html
/usr/share/doc/libxslt-devel/html/libxslt-transform.html
/usr/share/doc/libxslt-devel/html/libxslt-variables.html
/usr/share/doc/libxslt-devel/html/libxslt-xslt.html
/usr/share/doc/libxslt-devel/html/libxslt-xsltInternals.html
/usr/share/doc/libxslt-devel/html/libxslt-xsltexports.html
/usr/share/doc/libxslt-devel/html/libxslt-xsltlocale.html
/usr/share/doc/libxslt-devel/html/libxslt-xsltutils.html
/usr/share/doc/libxslt-devel/html/right.png
/usr/share/doc/libxslt-devel/html/up.png
/usr/share/doc/libxslt-devel/images
/usr/share/doc/libxslt-devel/images/callouts
/usr/share/doc/libxslt-devel/images/callouts/1.png
/usr/share/doc/libxslt-devel/images/callouts/10.png
/usr/share/doc/libxslt-devel/images/callouts/2.png
/usr/share/doc/libxslt-devel/images/callouts/3.png
/usr/share/doc/libxslt-devel/images/callouts/4.png
/usr/share/doc/libxslt-devel/images/callouts/5.png
/usr/share/doc/libxslt-devel/images/callouts/6.png
/usr/share/doc/libxslt-devel/images/callouts/7.png
/usr/share/doc/libxslt-devel/images/callouts/8.png
/usr/share/doc/libxslt-devel/images/callouts/9.png
/usr/share/doc/libxslt-devel/index.html
/usr/share/doc/libxslt-devel/internals.html
/usr/share/doc/libxslt-devel/intro.html
/usr/share/doc/libxslt-devel/libexslt-api.xml
/usr/share/doc/libxslt-devel/libexslt-refs.xml
/usr/share/doc/libxslt-devel/libxslt-api.xml
/usr/share/doc/libxslt-devel/libxslt-refs.xml
/usr/share/doc/libxslt-devel/news.html
/usr/share/doc/libxslt-devel/node.gif
/usr/share/doc/libxslt-devel/object.gif
/usr/share/doc/libxslt-devel/processing.gif
/usr/share/doc/libxslt-devel/python.html
/usr/share/doc/libxslt-devel/redhat.gif
/usr/share/doc/libxslt-devel/smallfootonly.gif
/usr/share/doc/libxslt-devel/stylesheet.gif
/usr/share/doc/libxslt-devel/templates.gif
/usr/share/doc/libxslt-devel/tutorial
/usr/share/doc/libxslt-devel/tutorial/libxslt_tutorial.c
/usr/share/doc/libxslt-devel/tutorial/libxslttutorial.html
/usr/share/doc/libxslt-devel/tutorial/libxslttutorial.xml
/usr/share/doc/libxslt-devel/tutorial2
/usr/share/doc/libxslt-devel/tutorial2/libxslt_pipes.c
/usr/share/doc/libxslt-devel/tutorial2/libxslt_pipes.html
/usr/share/doc/libxslt-devel/tutorial2/libxslt_pipes.xml
/usr/share/doc/libxslt-devel/w3c.png
/usr/share/doc/libxslt-devel/xslt.html
/usr/share/doc/libxslt-devel/xsltproc.html
/usr/share/doc/libxslt-devel/xsltproc2.html
/usr/share/man/man3/libexslt.3.gz
/usr/share/man/man3/libxslt.3.gz
/usr/bin/xslt-config
/usr/include/libexslt
/usr/include/libexslt/exslt.h
/usr/include/libexslt/exsltconfig.h
/usr/include/libexslt/exsltexports.h
/usr/include/libxslt
/usr/include/libxslt/attributes.h
/usr/include/libxslt/documents.h
/usr/include/libxslt/extensions.h
/usr/include/libxslt/extra.h
/usr/include/libxslt/functions.h
/usr/include/libxslt/imports.h
/usr/include/libxslt/keys.h
/usr/include/libxslt/namespaces.h
/usr/include/libxslt/numbersInternals.h
/usr/include/libxslt/pattern.h
/usr/include/libxslt/preproc.h
/usr/include/libxslt/security.h
/usr/include/libxslt/templates.h
/usr/include/libxslt/transform.h
/usr/include/libxslt/variables.h
/usr/include/libxslt/xslt.h
/usr/include/libxslt/xsltInternals.h
/usr/include/libxslt/xsltconfig.h
/usr/include/libxslt/xsltexports.h
/usr/include/libxslt/xsltlocale.h
/usr/include/libxslt/xsltutils.h
/usr/lib64/libexslt.so
/usr/lib64/libxslt.so
/usr/lib64/pkgconfig/libexslt.pc
/usr/lib64/pkgconfig/libxslt.pc
/usr/lib64/xsltConf.sh
/usr/share/aclocal/libxslt.m4
/usr/share/doc/libxslt-devel
/usr/share/doc/libxslt-devel/API.html
/usr/share/doc/libxslt-devel/APIchunk0.html
/usr/share/doc/libxslt-devel/APIchunk1.html
/usr/share/doc/libxslt-devel/APIchunk10.html
/usr/share/doc/libxslt-devel/APIchunk11.html
/usr/share/doc/libxslt-devel/APIchunk12.html
/usr/share/doc/libxslt-devel/APIchunk13.html
/usr/share/doc/libxslt-devel/APIchunk2.html
/usr/share/doc/libxslt-devel/APIchunk3.html
/usr/share/doc/libxslt-devel/APIchunk4.html
/usr/share/doc/libxslt-devel/APIchunk5.html
/usr/share/doc/libxslt-devel/APIchunk6.html
/usr/share/doc/libxslt-devel/APIchunk7.html
/usr/share/doc/libxslt-devel/APIchunk8.html
/usr/share/doc/libxslt-devel/APIchunk9.html
/usr/share/doc/libxslt-devel/APIconstructors.html
/usr/share/doc/libxslt-devel/APIfiles.html
/usr/share/doc/libxslt-devel/APIfunctions.html
/usr/share/doc/libxslt-devel/APIsymbols.html
/usr/share/doc/libxslt-devel/EXSLT
/usr/share/doc/libxslt-devel/EXSLT/APIchunk0.html
/usr/share/doc/libxslt-devel/EXSLT/APIconstructors.html
/usr/share/doc/libxslt-devel/EXSLT/APIfiles.html
/usr/share/doc/libxslt-devel/EXSLT/APIfunctions.html
/usr/share/doc/libxslt-devel/EXSLT/APIsymbols.html
/usr/share/doc/libxslt-devel/EXSLT/bugs.html
/usr/share/doc/libxslt-devel/EXSLT/docs.html
/usr/share/doc/libxslt-devel/EXSLT/downloads.html
/usr/share/doc/libxslt-devel/EXSLT/exslt.html
/usr/share/doc/libxslt-devel/EXSLT/help.html
/usr/share/doc/libxslt-devel/EXSLT/html
/usr/share/doc/libxslt-devel/EXSLT/html/book1.html
/usr/share/doc/libxslt-devel/EXSLT/html/home.png
/usr/share/doc/libxslt-devel/EXSLT/html/index.html
/usr/share/doc/libxslt-devel/EXSLT/html/left.png
/usr/share/doc/libxslt-devel/EXSLT/html/libexslt-exslt.html
/usr/share/doc/libxslt-devel/EXSLT/html/libexslt-exsltexports.html
/usr/share/doc/libxslt-devel/EXSLT/html/libexslt-lib.html
/usr/share/doc/libxslt-devel/EXSLT/html/right.png
/usr/share/doc/libxslt-devel/EXSLT/html/up.png
/usr/share/doc/libxslt-devel/EXSLT/index.html
/usr/share/doc/libxslt-devel/EXSLT/intro.html
/usr/share/doc/libxslt-devel/EXSLT/libexslt-api.xml
/usr/share/doc/libxslt-devel/EXSLT/libexslt-refs.xml
/usr/share/doc/libxslt-devel/FAQ.html
/usr/share/doc/libxslt-devel/Libxslt-Logo-180x168.gif
/usr/share/doc/libxslt-devel/Libxslt-Logo-90x34.gif
/usr/share/doc/libxslt-devel/bugs.html
/usr/share/doc/libxslt-devel/contexts.gif
/usr/share/doc/libxslt-devel/contribs.html
/usr/share/doc/libxslt-devel/docbook.html
/usr/share/doc/libxslt-devel/docs.html
/usr/share/doc/libxslt-devel/downloads.html
/usr/share/doc/libxslt-devel/duck.png
/usr/share/doc/libxslt-devel/epatents.png
/usr/share/doc/libxslt-devel/extensions.html
/usr/share/doc/libxslt-devel/gnome2.png
/usr/share/doc/libxslt-devel/help.html
/usr/share/doc/libxslt-devel/html
/usr/share/doc/libxslt-devel/html/book1.html
/usr/share/doc/libxslt-devel/html/home.png
/usr/share/doc/libxslt-devel/html/index.html
/usr/share/doc/libxslt-devel/html/left.png
/usr/share/doc/libxslt-devel/html/libxslt-attributes.html
/usr/share/doc/libxslt-devel/html/libxslt-documents.html
/usr/share/doc/libxslt-devel/html/libxslt-extensions.html
/usr/share/doc/libxslt-devel/html/libxslt-extra.html
/usr/share/doc/libxslt-devel/html/libxslt-functions.html
/usr/share/doc/libxslt-devel/html/libxslt-imports.html
/usr/share/doc/libxslt-devel/html/libxslt-keys.html
/usr/share/doc/libxslt-devel/html/libxslt-lib.html
/usr/share/doc/libxslt-devel/html/libxslt-namespaces.html
/usr/share/doc/libxslt-devel/html/libxslt-numbersInternals.html
/usr/share/doc/libxslt-devel/html/libxslt-pattern.html
/usr/share/doc/libxslt-devel/html/libxslt-preproc.html
/usr/share/doc/libxslt-devel/html/libxslt-security.html
/usr/share/doc/libxslt-devel/html/libxslt-templates.html
/usr/share/doc/libxslt-devel/html/libxslt-transform.html
/usr/share/doc/libxslt-devel/html/libxslt-variables.html
/usr/share/doc/libxslt-devel/html/libxslt-xslt.html
/usr/share/doc/libxslt-devel/html/libxslt-xsltInternals.html
/usr/share/doc/libxslt-devel/html/libxslt-xsltexports.html
/usr/share/doc/libxslt-devel/html/libxslt-xsltlocale.html
/usr/share/doc/libxslt-devel/html/libxslt-xsltutils.html
/usr/share/doc/libxslt-devel/html/right.png
/usr/share/doc/libxslt-devel/html/up.png
/usr/share/doc/libxslt-devel/images
/usr/share/doc/libxslt-devel/images/callouts
/usr/share/doc/libxslt-devel/images/callouts/1.png
/usr/share/doc/libxslt-devel/images/callouts/10.png
/usr/share/doc/libxslt-devel/images/callouts/2.png
/usr/share/doc/libxslt-devel/images/callouts/3.png
/usr/share/doc/libxslt-devel/images/callouts/4.png
/usr/share/doc/libxslt-devel/images/callouts/5.png
/usr/share/doc/libxslt-devel/images/callouts/6.png
/usr/share/doc/libxslt-devel/images/callouts/7.png
/usr/share/doc/libxslt-devel/images/callouts/8.png
/usr/share/doc/libxslt-devel/images/callouts/9.png
/usr/share/doc/libxslt-devel/index.html
/usr/share/doc/libxslt-devel/internals.html
/usr/share/doc/libxslt-devel/intro.html
/usr/share/doc/libxslt-devel/libexslt-api.xml
/usr/share/doc/libxslt-devel/libexslt-refs.xml
/usr/share/doc/libxslt-devel/libxslt-api.xml
/usr/share/doc/libxslt-devel/libxslt-refs.xml
/usr/share/doc/libxslt-devel/news.html
/usr/share/doc/libxslt-devel/node.gif
/usr/share/doc/libxslt-devel/object.gif
/usr/share/doc/libxslt-devel/processing.gif
/usr/share/doc/libxslt-devel/python.html
/usr/share/doc/libxslt-devel/redhat.gif
/usr/share/doc/libxslt-devel/smallfootonly.gif
/usr/share/doc/libxslt-devel/stylesheet.gif
/usr/share/doc/libxslt-devel/templates.gif
/usr/share/doc/libxslt-devel/tutorial
/usr/share/doc/libxslt-devel/tutorial/libxslt_tutorial.c
/usr/share/doc/libxslt-devel/tutorial/libxslttutorial.html
/usr/share/doc/libxslt-devel/tutorial/libxslttutorial.xml
/usr/share/doc/libxslt-devel/tutorial2
/usr/share/doc/libxslt-devel/tutorial2/libxslt_pipes.c
/usr/share/doc/libxslt-devel/tutorial2/libxslt_pipes.html
/usr/share/doc/libxslt-devel/tutorial2/libxslt_pipes.xml
/usr/share/doc/libxslt-devel/w3c.png
/usr/share/doc/libxslt-devel/xslt.html
/usr/share/doc/libxslt-devel/xsltproc.html
/usr/share/doc/libxslt-devel/xsltproc2.html
/usr/share/man/man3/libexslt.3.gz
/usr/share/man/man3/libxslt.3.gz

References

Summary

In this tutorial we learn how to install libxslt-devel on CentOS 8 using yum and dnf.