How To Install libsigc++20 on Rocky Linux 8

In this tutorial we learn how to install libsigc++20 on Rocky Linux 8. libsigc++20 is Typesafe signal framework for C++

Introduction

In this tutorial we learn how to install libsigc++20 on Rocky Linux 8.

What is libsigc++20

This library implements a full callback system for use in widget libraries, abstract interfaces, and general programming. Originally part of the Gtk– widget set, libsigc++20 is now a separate library to provide for more general use. It is the most complete library of its kind with the ability to connect an abstract callback to a class method, function, or function object. It contains adaptor classes for connection of dissimilar callbacks and has an ease of use unmatched by other C++ callback libraries. Package GTK– (gtkmm), which is a C++ binding to the GTK+ library, starting with version 1.1.2, uses libsigc++20.

We can use yum or dnf to install libsigc++20 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libsigc++20.

Install libsigc++20 on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libsigc++20

Install libsigc++20 on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libsigc++20 using yum by running the following command:

sudo yum -y install libsigc++20

How To Uninstall libsigc++20 on Rocky Linux 8

To uninstall only the libsigc++20 package we can use the following command:

sudo dnf remove libsigc++20

libsigc++20 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/e631091043044fe06453dad8e891d6fd1c85eb
/usr/lib64/libsigc-2.0.so.0
/usr/lib64/libsigc-2.0.so.0.0.0
/usr/share/doc/libsigc++20
/usr/share/doc/libsigc++20/AUTHORS
/usr/share/doc/libsigc++20/NEWS
/usr/share/doc/libsigc++20/README
/usr/share/licenses/libsigc++20
/usr/share/licenses/libsigc++20/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/75
/usr/lib/.build-id/75/47ab649d4ef40c25752b0a618a07fad3274b06
/usr/lib/libsigc-2.0.so.0
/usr/lib/libsigc-2.0.so.0.0.0
/usr/share/doc/libsigc++20
/usr/share/doc/libsigc++20/AUTHORS
/usr/share/doc/libsigc++20/NEWS
/usr/share/doc/libsigc++20/README
/usr/share/licenses/libsigc++20
/usr/share/licenses/libsigc++20/COPYING

References

Summary

In this tutorial we learn how to install libsigc++20 on Rocky Linux 8 using yum and dnf.