How To Install gc on Fedora 36

In this tutorial we learn how to install gc in Fedora 36. gc is Garbage collector for C and C++

Introduction

In this tutorial we learn how to install gc on Fedora 36.

What is gc

The Boehm-Demers-Weiser conservative garbage collector can be used as a garbage collecting replacement for C malloc or C++ new.

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

Install gc on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install gc

Install gc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install gc

How To Uninstall gc on Fedora 36

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

sudo dnf remove gc

gc Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/8e4cdc12435c8f460cc49e09ea253969480735
/usr/lib/.build-id/51
/usr/lib/.build-id/51/43217f49aeef3a57b8f483e348c91b0ad4a9dc
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/caca4029ee5f2043ef8ef0488f4f7782d9e348
/usr/lib/libcord.so.1
/usr/lib/libcord.so.1.4.0
/usr/lib/libgc.so.1
/usr/lib/libgc.so.1.4.4
/usr/lib/libgccpp.so.1
/usr/lib/libgccpp.so.1.4.1

References

Summary

In this tutorial we learn how to install gc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install gc on Fedora 36” linkTitle: “gc” type: “docs” description: “In this tutorial we learn how to install gc in Fedora 36. gc is Garbage collector for C and C++” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/gc-featured.png

Introduction

In this tutorial we learn how to install gc on Fedora 36.

What is gc

The Boehm-Demers-Weiser conservative garbage collector can be used as a garbage collecting replacement for C malloc or C++ new.

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

Install gc on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install gc

Install gc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install gc

How To Uninstall gc on Fedora 36

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

sudo dnf remove gc

gc Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/2cd4a9f13c9ea98ef9c2831131f12b001da6c2
/usr/lib/.build-id/db
/usr/lib/.build-id/db/b7db60359cbb05542f33f557ac98e114c3bfbb
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/23a7d5396b0e780921ab408decdd99599d06fc
/usr/lib64/libcord.so.1
/usr/lib64/libcord.so.1.4.0
/usr/lib64/libgc.so.1
/usr/lib64/libgc.so.1.4.4
/usr/lib64/libgccpp.so.1
/usr/lib64/libgccpp.so.1.4.1

References

Summary

In this tutorial we learn how to install gc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).