How To Install libsigc++ on Fedora 34

libsigc++ is Typesafe signal framework for C++ Typesafe signal framework for C++

Introduction

In this tutorial we learn how to install libsigc++ on Fedora 34.

What is libsigc++

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++ is now a separate library to provide for more general use. It is the most complete library of its kind with the ablity 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 gtkmm (previously gtk–), which is a C++ binding to the GTK+ library, starting with version 1.1.2, uses libsigc++. libsigc++ 1.2.7 32.fc34 x86_64 39 k libsigc++-1.2.7-32.fc34.src.rpm fedora Typesafe signal framework for C++ http LGPLv2+ 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++ is now a separate library to provide for more general use. It is the most complete library of its kind with the ablity 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 gtkmm (previously gtk–), which is a C++ binding to the GTK+ library, starting with version 1.1.2, uses libsigc++.

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

Install libsigc++ on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libsigc++

Install libsigc++ on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install libsigc++

How To Uninstall libsigc++ on Fedora 34

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

sudo dnf remove libsigc++

libsigc++ Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/0f3cf845ae1a0423c20ba1518e746e9247ae99
/usr/lib/libsigc-1.2.so.5
/usr/lib/libsigc-1.2.so.5.0.7
/usr/share/doc/libsigc++
/usr/share/doc/libsigc++/AUTHORS
/usr/share/doc/libsigc++/COPYING.LIB
/usr/share/doc/libsigc++/ChangeLog
/usr/share/doc/libsigc++/IDEAS
/usr/share/doc/libsigc++/NEWS
/usr/share/doc/libsigc++/README
/usr/share/doc/libsigc++/TODO
/usr/lib/.build-id
/usr/lib/.build-id/df
/usr/lib/.build-id/df/288a5e1eaa407290a650d9e098daba05ffa15a
/usr/lib64/libsigc-1.2.so.5
/usr/lib64/libsigc-1.2.so.5.0.7
/usr/share/doc/libsigc++
/usr/share/doc/libsigc++/AUTHORS
/usr/share/doc/libsigc++/COPYING.LIB
/usr/share/doc/libsigc++/ChangeLog
/usr/share/doc/libsigc++/IDEAS
/usr/share/doc/libsigc++/NEWS
/usr/share/doc/libsigc++/README
/usr/share/doc/libsigc++/TODO

References

Summary

In this tutorial we learn how to install libsigc++ on Fedora 34 using yum and dnf.