How To Install libgupnp-1.2-dev on Ubuntu 20.04

In this tutorial we learn how to install libgupnp-1.2-dev on Ubuntu 20.04. libgupnp-1.2-dev is GObject-based library for UPnP (development files) GObject-based library for UPnP (development files) GObject-based library for UPnP (development files)

Introduction

In this tutorial we learn how to install libgupnp-1.2-dev on Ubuntu 20.04.

What is libgupnp-1.2-dev

libgupnp-1.2-dev is:

A GObject-based API for doing UPnP transparently.

This package contains the development files.

Package: libgupnp-1.2-dev Architecture: amd64 Version: 1.2.3-0ubuntu0.20.04.2 Multi-Arch: same Priority: optional Section: libdevel Source: gupnp Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian GNOME Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 530 Depends: libgupnp-1.2-0 (= 1.2.3-0ubuntu0.20.04.2), gir1.2-gupnp-1.2 (= 1.2.3-0ubuntu0.20.04.2), libglib2.0-dev (>= 2.58), libgssdp-1.2-dev, libsoup2.4-dev, libxml2-dev, uuid-dev, python3:any Suggests: libgupnp-doc Breaks: gir-repository-dev (<= 0.6.5-5), gupnp-vala (« 0.10.5) Replaces: gir-repository-dev (<= 0.6.5-5), gupnp-vala (« 0.10.5) Filename: pool/main/g/gupnp/libgupnp-1.2-dev_1.2.3-0ubuntu0.20.04.2_amd64.deb Size: 45584 MD5sum: 5f478541b2a9b1513a4384a5edb7adab SHA1: b59cf626b03564995b695b1a59ef2f9878b024cc SHA256: 0e647a63f7a6e6b189d7f2432fa6bd4c145c91b01f3754a749e9cb3a5f2890ea SHA512: 32e2320e487e955a5906791a7ffc16ae8423195b3e3a2aeb047653670d3c732e94a4b812bec365b72b26457d4d2e7850e52dba32684490d5d1abb6b65f216ca1 Homepage: https://wiki.gnome.org/Projects/GUPnP Description-en: GObject-based library for UPnP (development files) A GObject-based API for doing UPnP transparently.

This package contains the development files.

Package: libgupnp-1.2-dev Architecture: amd64 Version: 1.2.2-1 Multi-Arch: same Priority: optional Section: libdevel Source: gupnp Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian GNOME Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 530 Depends: libgupnp-1.2-0 (= 1.2.2-1), gir1.2-gupnp-1.2 (= 1.2.2-1), libglib2.0-dev (>= 2.58), libgssdp-1.2-dev, libsoup2.4-dev, libxml2-dev, uuid-dev, python3:any Suggests: libgupnp-doc Breaks: gir-repository-dev (<= 0.6.5-5), gupnp-vala (« 0.10.5) Replaces: gir-repository-dev (<= 0.6.5-5), gupnp-vala (« 0.10.5) Filename: pool/main/g/gupnp/libgupnp-1.2-dev_1.2.2-1_amd64.deb Size: 45536 MD5sum: 6e7bf9cdf8cfa6456eb304d78f955c42 SHA1: de72136375bdee97597286f835e7d35f61e888d0 SHA256: b90b23b6b8040dd729fa1737be10457650bbf6d712581880ce530e8ab7e8ce77 Homepage: https://wiki.gnome.org/Projects/GUPnP Description-en: GObject-based library for UPnP (development files) A GObject-based API for doing UPnP transparently.

This package contains the development files.

There are three methods to install libgupnp-1.2-dev on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libgupnp-1.2-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libgupnp-1.2-dev

Install libgupnp-1.2-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgupnp-1.2-dev using apt by running the following command:

sudo apt -y install libgupnp-1.2-dev

Install libgupnp-1.2-dev 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libgupnp-1.2-dev using aptitude by running the following command:

sudo aptitude -y install libgupnp-1.2-dev

How To Uninstall libgupnp-1.2-dev on Ubuntu 20.04

To uninstall only the libgupnp-1.2-dev package we can use the following command:

sudo apt-get remove libgupnp-1.2-dev

Uninstall libgupnp-1.2-dev And Its Dependencies

To uninstall libgupnp-1.2-dev and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libgupnp-1.2-dev

Remove libgupnp-1.2-dev Configurations and Data

To remove libgupnp-1.2-dev configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libgupnp-1.2-dev

Remove libgupnp-1.2-dev configuration, data, and all of its dependencies

We can use the following command to remove libgupnp-1.2-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgupnp-1.2-dev

References

Summary

In this tutorial we learn how to install libgupnp-1.2-dev package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.