How To Install gupnp on CentOS 8

gupnp is A framework for creating UPnP devices & control points A framework for creating UPnP devices & control points

Introduction

In this tutorial we learn how to install gupnp on CentOS 8.

What is gupnp

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 1.0.6 2.el8_4 x86_64 106 k gupnp-1.0.6-2.el8_4.src.rpm appstream A framework for creating UPnP devices & control points http LGPLv2+ 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.

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

Install gupnp on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install gupnp using dnf by running the following command:

sudo dnf -y install gupnp

Install gupnp on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install gupnp using yum by running the following command:

sudo yum -y install gupnp

How To Uninstall gupnp on CentOS 8

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

sudo dnf remove gupnp

gupnp Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/2a822da702bffcd0fba4fc8a2491bf9db22e1f
/usr/lib/girepository-1.0/GUPnP-1.0.typelib
/usr/lib/libgupnp-1.0.so.4
/usr/lib/libgupnp-1.0.so.4.0.1
/usr/share/doc/gupnp
/usr/share/doc/gupnp/AUTHORS
/usr/share/doc/gupnp/README
/usr/share/licenses/gupnp
/usr/share/licenses/gupnp/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/a0fa7e18891a31cb184089766fbf1dc4cd668a
/usr/lib64/girepository-1.0/GUPnP-1.0.typelib
/usr/lib64/libgupnp-1.0.so.4
/usr/lib64/libgupnp-1.0.so.4.0.1
/usr/share/doc/gupnp
/usr/share/doc/gupnp/AUTHORS
/usr/share/doc/gupnp/README
/usr/share/licenses/gupnp
/usr/share/licenses/gupnp/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/66781174651cb7538e0c965e9db57851d1d872
/usr/lib64/girepository-1.0/GUPnP-1.0.typelib
/usr/lib64/libgupnp-1.0.so.4
/usr/lib64/libgupnp-1.0.so.4.0.1
/usr/share/doc/gupnp
/usr/share/doc/gupnp/AUTHORS
/usr/share/doc/gupnp/README
/usr/share/licenses/gupnp
/usr/share/licenses/gupnp/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/af
/usr/lib/.build-id/af/7c1852b747210f9b9b09ed09e91daa31bd6e8e
/usr/lib/girepository-1.0/GUPnP-1.0.typelib
/usr/lib/libgupnp-1.0.so.4
/usr/lib/libgupnp-1.0.so.4.0.1
/usr/share/doc/gupnp
/usr/share/doc/gupnp/AUTHORS
/usr/share/doc/gupnp/README
/usr/share/licenses/gupnp
/usr/share/licenses/gupnp/COPYING

References

Summary

In this tutorial we learn how to install gupnp on CentOS 8 using yum and dnf.