How To Install pugixml-devel on Rocky Linux 8

In this tutorial we learn how to install pugixml-devel on Rocky Linux 8. pugixml-devel is Development files for pugixml

Introduction

In this tutorial we learn how to install pugixml-devel on Rocky Linux 8.

What is pugixml-devel

Development files for package pugixml

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

Install pugixml-devel 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 pugixml-devel using dnf by running the following command:

sudo dnf -y install pugixml-devel

Install pugixml-devel 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 pugixml-devel using yum by running the following command:

sudo yum -y install pugixml-devel

How To Uninstall pugixml-devel on Rocky Linux 8

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

sudo dnf remove pugixml-devel

pugixml-devel Package Contents on Rocky Linux 8

/usr/include/pugiconfig.hpp
/usr/include/pugixml.hpp
/usr/lib64/cmake/pugixml
/usr/lib64/cmake/pugixml/pugixml-config-version.cmake
/usr/lib64/cmake/pugixml/pugixml-config.cmake
/usr/lib64/cmake/pugixml/pugixml-targets-noconfig.cmake
/usr/lib64/cmake/pugixml/pugixml-targets.cmake
/usr/lib64/libpugixml.so
/usr/lib64/pkgconfig/pugixml.pc

References

Summary

In this tutorial we learn how to install pugixml-devel on Rocky Linux 8 using yum and dnf.