How To Install libmono-upnp-cil on Debian 12

Learn how to install libmono-upnp-cil on Debian 12 with this tutorial. libmono-upnp-cil is client/server libraries for UPnP – CIL assemblies

Introduction

In this tutorial we learn how to install libmono-upnp-cil on Debian 12.

What is libmono-upnp-cil

libmono-upnp-cil is:

Mono.Upnp is a set of client/server libraries for the Universal Plug ’n Play specification, which can be found at http://www.upnp.org.

Mono.Upnp includes the following projects:

  • Mono.Ssdp: An implementation of the Simple Discovery Protocol.
  • Mono.Upnp: An implementation of the UPnP Device Architecture 1.1, Sections 2-6.
  • Mono.Upnp.GtkClient: An executable Gtk+ user interface for inspecting UPnP devices and services on the network.
  • Mono.Upnp.Dcp.MediaServer1: An implementation of the UPnP Audio/Video MediaServer1 Device Control Protocol.
  • Mono.Upnp.Dcp.MediaServer1.FileSystem: A MediaServer1 implementation which serves media from the filesystem.
  • Mono.Upnp.Dcp.MediaServer1.FileSystem.ConsoleServer: An executable console program which serves media from the filesystem.
  • Mono.Upnp.Dcp.MSMediaServerRegistrar1: An implementation of the Microsoft MSMediaServerRegistrar1 Device Control Protocol.

This package contains Mono.Upnp and Mono.Ssdp CIL assemblies required for building and linking applications using this library.

There are three methods to install libmono-upnp-cil 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 libmono-upnp-cil Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libmono-upnp-cil

Install libmono-upnp-cil Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libmono-upnp-cil using apt by running the following command:

sudo apt -y install libmono-upnp-cil

Install libmono-upnp-cil 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 libmono-upnp-cil using aptitude by running the following command:

sudo aptitude -y install libmono-upnp-cil

How To Uninstall libmono-upnp-cil on Debian 12

To uninstall only the libmono-upnp-cil package we can use the following command:

sudo apt-get remove libmono-upnp-cil

Uninstall libmono-upnp-cil And Its Dependencies

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

sudo apt-get -y autoremove libmono-upnp-cil

Remove libmono-upnp-cil Configurations and Data

To remove libmono-upnp-cil configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libmono-upnp-cil

Remove libmono-upnp-cil configuration, data, and all of its dependencies

We can use the following command to remove libmono-upnp-cil configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libmono-upnp-cil

Dependencies

libmono-upnp-cil have the following dependencies:

References

Summary

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