How To Install gupnp-tools on Debian 12

Learn how to install gupnp-tools on Debian 12 with this tutorial. gupnp-tools is tools for testing UPnP devices and control points

Introduction

In this tutorial we learn how to install gupnp-tools on Debian 12.

What is gupnp-tools

gupnp-tools is:

GUPnP is an object-oriented open source framework for creating UPnP devices and control points, written in C using GObject and libsoup. The GUPnP API is intended to be easy to use, efficient and flexible.

GUPnP Tools are free replacements of Intel UPnP tools that use GUPnP. They provides the following client and server side tools which enable one to easily test and debug one’s UPnP devices and control points:

  • Universal Control Point: a tool that enables one to discover UPnP devices and services, retrieve information about them, subscribe to events and invoke actions.
  • Network Light: a virtual light bulb that allows control points to switch it on and off, change its dimming level and query its current status.
  • AV Control Point: a simple media player UI that enables one to discover and play multimedia content available on the network.
  • MediaServer upload: upload files to MediaServers
  • Upload: a simple commandline utility that uploads files to known MediaServers. Use Universal Control Point for discovering the MediaServers.

There are three methods to install gupnp-tools 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 gupnp-tools Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gupnp-tools

Install gupnp-tools Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gupnp-tools

Install gupnp-tools 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 gupnp-tools using aptitude by running the following command:

sudo aptitude -y install gupnp-tools

How To Uninstall gupnp-tools on Debian 12

To uninstall only the gupnp-tools package we can use the following command:

sudo apt-get remove gupnp-tools

Uninstall gupnp-tools And Its Dependencies

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

sudo apt-get -y autoremove gupnp-tools

Remove gupnp-tools Configurations and Data

To remove gupnp-tools configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge gupnp-tools

Remove gupnp-tools configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gupnp-tools

Dependencies

gupnp-tools have the following dependencies:

References

Summary

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