How To Install libsigc++20 on CentOS 7

In this tutorial we learn how to install libsigc++20 on CentOS 7. libsigc++20 is Typesafe signal framework for C++

Introduction

In this tutorial we learn how to install libsigc++20 on CentOS 7.

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. 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libsigc++20.

Install libsigc++20 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libsigc++20

Install libsigc++20 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install libsigc++20

How To Uninstall libsigc++20 on CentOS 7

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

sudo dnf remove libsigc++20

References

Summary

In this tutorial we learn how to install libsigc++20 on CentOS 7 using yum and dnf.