How To Install libgcroots on Fedora 34

libgcroots is Roots acquisition library for Garbage Collector Roots acquisition library for Garbage Collector

Introduction

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

What is libgcroots

libgcroots abstracts architecture-dependent part of garbage collector roots acquisition such as register windows of SPARC and register stack backing store of IA-64. This library encourages to have own GC such as for small-footprint, some application-specific optimizations, just learning or to test experimental ideas. libgcroots 0.3.2 2.fc34 x86_64 14 k libgcroots-0.3.2-2.fc34.src.rpm fedora Roots acquisition library for Garbage Collector https MIT libgcroots abstracts architecture-dependent part of garbage collector roots acquisition such as register windows of SPARC and register stack backing store of IA-64. This library encourages to have own GC such as for small-footprint, some application-specific optimizations, just learning or to test experimental ideas.

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

Install libgcroots 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 libgcroots using dnf by running the following command:

sudo dnf -y install libgcroots

Install libgcroots 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 libgcroots using yum by running the following command:

sudo yum -y install libgcroots

How To Uninstall libgcroots on Fedora 34

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

sudo dnf remove libgcroots

libgcroots Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/dd655fd8d811f26bd6f0b27382dcf3a56dec5f
/usr/lib/libgcroots.so.0
/usr/lib/libgcroots.so.0.1.0
/usr/share/doc/libgcroots
/usr/share/doc/libgcroots/README
/usr/share/licenses/libgcroots
/usr/share/licenses/libgcroots/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/0a6e6ea6c0fb85287625510f998417b85a6d69
/usr/lib64/libgcroots.so.0
/usr/lib64/libgcroots.so.0.1.0
/usr/share/doc/libgcroots
/usr/share/doc/libgcroots/README
/usr/share/licenses/libgcroots
/usr/share/licenses/libgcroots/COPYING

References

Summary

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