How To Install libupnp on Rocky Linux 8
Introduction
In this tutorial we learn how to install libupnp on Rocky Linux 8.
What is libupnp
The Universal Plug and Play (UPnP) SDK for Linux provides support for building UPnP-compliant control points, devices, and bridges on Linux.
We can use yum or dnf to install libupnp on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libupnp.
Install libupnp 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 using dnf by running the following command:
sudo dnf -y install libupnp
Install libupnp 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 using yum by running the following command:
sudo yum -y install libupnp
How To Uninstall libupnp on Rocky Linux 8
To uninstall only the libupnp package we can use the following command:
sudo dnf remove libupnp
libupnp Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/9c8f6f0454582cef44dec1ee3b988ec2598c31
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/7920bab6264b24d5c2e9367f3d0a310a285374
/usr/lib64/libixml.so.10
/usr/lib64/libixml.so.10.0.2
/usr/lib64/libupnp.so.13
/usr/lib64/libupnp.so.13.1.2
/usr/share/doc/libupnp
/usr/share/doc/libupnp/THANKS
/usr/share/licenses/libupnp
/usr/share/licenses/libupnp/COPYING
References
Summary
In this tutorial we learn how to install libupnp on Rocky Linux 8 using yum and dnf.