How To Install libupnp-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install libupnp-devel
on Rocky Linux 8.
What is libupnp-devel
The libupnp-devel package contains the files necessary for development with the UPnP SDK libraries.
We can use yum
or dnf
to install libupnp-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libupnp-devel.
Install libupnp-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 libupnp-devel
using dnf
by running the following command:
sudo dnf -y install libupnp-devel
Install libupnp-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 libupnp-devel
using yum
by running the following command:
sudo yum -y install libupnp-devel
How To Uninstall libupnp-devel on Rocky Linux 8
To uninstall only the libupnp-devel
package we can use the following command:
sudo dnf remove libupnp-devel
libupnp-devel Package Contents on Rocky Linux 8
/usr/include/upnp
/usr/include/upnp/ActionComplete.h
/usr/include/upnp/ActionRequest.h
/usr/include/upnp/Callback.h
/usr/include/upnp/Discovery.h
/usr/include/upnp/Event.h
/usr/include/upnp/EventSubscribe.h
/usr/include/upnp/ExtraHeaders.h
/usr/include/upnp/FileInfo.h
/usr/include/upnp/StateVarComplete.h
/usr/include/upnp/StateVarRequest.h
/usr/include/upnp/SubscriptionRequest.h
/usr/include/upnp/TemplateInclude.h
/usr/include/upnp/TemplateSource.h
/usr/include/upnp/TemplateUndef.h
/usr/include/upnp/UpnpGlobal.h
/usr/include/upnp/UpnpInet.h
/usr/include/upnp/UpnpIntTypes.h
/usr/include/upnp/UpnpStdInt.h
/usr/include/upnp/UpnpString.h
/usr/include/upnp/UpnpUniStd.h
/usr/include/upnp/ithread.h
/usr/include/upnp/ixml.h
/usr/include/upnp/ixmldebug.h
/usr/include/upnp/list.h
/usr/include/upnp/poison.h
/usr/include/upnp/upnp.h
/usr/include/upnp/upnpconfig.h
/usr/include/upnp/upnpdebug.h
/usr/include/upnp/upnptools.h
/usr/lib64/libixml.so
/usr/lib64/libupnp.so
/usr/lib64/pkgconfig/libupnp.pc
References
Summary
In this tutorial we learn how to install libupnp-devel
on Rocky Linux 8 using yum and dnf.