How To Install libminiupnpc17 on Debian 12

Learn how to install libminiupnpc17 on Debian 12 with this tutorial. libminiupnpc17 is UPnP IGD client lightweight library

Introduction

In this tutorial we learn how to install libminiupnpc17 on Debian 12.

What is libminiupnpc17

libminiupnpc17 is:

The UPnP protocol is supported by most home adsl/cable routers and Microsoft Windows 2K/XP. The aim of the MiniUPnP project is to bring a free software solution to support the “Internet Gateway Device” part of the protocol. The MediaServer/MediaRenderer UPnP protocol is also becoming very popular.

Miniupnpc aims at the simplest library possible, with the smallest footprint and no dependencies to other libraries such as XML parsers or HTTP implementations. All the code is pure ANSI C. Compiled on a x86 PC, the miniupnp client library have less than 15KB code size. For instance, the upnpc sample program is around 20KB. The miniupnp daemon is much smaller than any other IGD daemon and is ideal for using on low memory device for this reason.

This package contains the shared library.

There are three methods to install libminiupnpc17 on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libminiupnpc17 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libminiupnpc17 using apt-get by running the following command:

sudo apt-get -y install libminiupnpc17

Install libminiupnpc17 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libminiupnpc17 using apt by running the following command:

sudo apt -y install libminiupnpc17

Install libminiupnpc17 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libminiupnpc17 using aptitude by running the following command:

sudo aptitude -y install libminiupnpc17

How To Uninstall libminiupnpc17 on Debian 12

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

sudo apt-get remove libminiupnpc17

Uninstall libminiupnpc17 And Its Dependencies

To uninstall libminiupnpc17 and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libminiupnpc17

Remove libminiupnpc17 Configurations and Data

To remove libminiupnpc17 configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libminiupnpc17

Remove libminiupnpc17 configuration, data, and all of its dependencies

We can use the following command to remove libminiupnpc17 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libminiupnpc17

Dependencies

libminiupnpc17 have the following dependencies:

References

Summary

In this tutorial we learn how to install libminiupnpc17 package on Debian 12 using different package management tools: apt, apt-get and aptitude.