How To Install libupnp on Fedora 34

libupnp is Universal Plug and Play (UPnP) SDK Universal Plug and Play (UPnP) SDK

Introduction

In this tutorial we learn how to install libupnp on Fedora 34.

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. libupnp 1.14.6 1.fc34 x86_64 113 k libupnp-1.14.6-1.fc34.src.rpm updates Universal Plug and Play (UPnP) SDK https BSD 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libupnp.

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

sudo dnf -y install libupnp

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

sudo yum -y install libupnp

How To Uninstall libupnp on Fedora 34

To uninstall only the libupnp package we can use the following command:

sudo dnf remove libupnp

libupnp Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/623fd85002f3d856f7205a5327e7f7a6a05609
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/83aeceaa204f4c0593faa2c6fc8622b0f04aa7
/usr/lib/libixml.so.11
/usr/lib/libixml.so.11.0.0
/usr/lib/libupnp.so.17
/usr/lib/libupnp.so.17.0.4
/usr/share/doc/libupnp
/usr/share/doc/libupnp/THANKS
/usr/share/licenses/libupnp
/usr/share/licenses/libupnp/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/3eaf59d356108300782f211750003f38d43d6b
/usr/lib/.build-id/86
/usr/lib/.build-id/86/4d3aa6f8b13bc588ad55274eee0bfe353da12a
/usr/lib/libixml.so.11
/usr/lib/libixml.so.11.0.1
/usr/lib/libupnp.so.17
/usr/lib/libupnp.so.17.0.6
/usr/share/doc/libupnp
/usr/share/doc/libupnp/THANKS
/usr/share/licenses/libupnp
/usr/share/licenses/libupnp/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/a19cd20c7cb8a1ef4cfcd4360ed5ce520ed2f1
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/2f267753474820a28ae79da91d3347860a88c5
/usr/lib64/libixml.so.11
/usr/lib64/libixml.so.11.0.0
/usr/lib64/libupnp.so.17
/usr/lib64/libupnp.so.17.0.4
/usr/share/doc/libupnp
/usr/share/doc/libupnp/THANKS
/usr/share/licenses/libupnp
/usr/share/licenses/libupnp/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/16c4aaccf3bfe40680590e5e44a8eff7bcc103
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/9803b5c38e50479ac32567b128d182d20a6aa4
/usr/lib64/libixml.so.11
/usr/lib64/libixml.so.11.0.1
/usr/lib64/libupnp.so.17
/usr/lib64/libupnp.so.17.0.6
/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 Fedora 34 using yum and dnf.