How To Install miniupnpc on Fedora 34

miniupnpc is Library and tool to control NAT in UPnP-enabled routers Library and tool to control NAT in UPnP-enabled routers

Introduction

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

What is miniupnpc

miniupnpc is an implementation of a UPnP client library, enabling applications to access the services provided by an UPnP “Internet Gateway Device” present on the network. In UPnP terminology, it is a UPnP Control Point. This package includes upnpc, a UPnP client application for configuring port forwarding in UPnP enabled routers. miniupnpc 2.2.2 1.fc34 x86_64 53 k miniupnpc-2.2.2-1.fc34.src.rpm fedora Library and tool to control NAT in UPnP-enabled routers http BSD miniupnpc is an implementation of a UPnP client library, enabling applications to access the services provided by an UPnP “Internet Gateway Device” present on the network. In UPnP terminology, it is a UPnP Control Point. This package includes upnpc, a UPnP client application for configuring port forwarding in UPnP enabled routers.

We can use yum or dnf to install miniupnpc on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install miniupnpc.

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

sudo dnf -y install miniupnpc

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

sudo yum -y install miniupnpc

How To Uninstall miniupnpc on Fedora 34

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

sudo dnf remove miniupnpc

miniupnpc Package Contents on Fedora 34

/usr/bin/external-ip
/usr/bin/upnpc
/usr/lib/.build-id
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/d7806d39f6d82cb8b9b61b10565f6660347f7d
/usr/lib/.build-id/83
/usr/lib/.build-id/83/1a18d9b8495f40de1276a16f9617fd2ad8f779
/usr/lib/libminiupnpc.so.17
/usr/share/doc/miniupnpc
/usr/share/doc/miniupnpc/Changelog.txt
/usr/share/doc/miniupnpc/LICENSE
/usr/share/doc/miniupnpc/README
/usr/share/doc/miniupnpc/USAGE
/usr/bin/external-ip
/usr/bin/upnpc
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/1258632a2b9eeeb55c9af4f6dd02d04d3b817a
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/cf7ef2679b4ed67714136286aec48a4f611f26
/usr/lib64/libminiupnpc.so.17
/usr/share/doc/miniupnpc
/usr/share/doc/miniupnpc/Changelog.txt
/usr/share/doc/miniupnpc/LICENSE
/usr/share/doc/miniupnpc/README
/usr/share/doc/miniupnpc/USAGE

References

Summary

In this tutorial we learn how to install miniupnpc on Fedora 34 using yum and dnf.