How To Install gc-devel on Fedora 36

In this tutorial we learn how to install gc-devel in Fedora 36. gc-devel is Libraries and header files for gc development

Introduction

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

What is gc-devel

Libraries and header files for gc development.

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

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

sudo dnf -y install gc-devel

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

sudo yum -y install gc-devel

How To Uninstall gc-devel on Fedora 36

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

sudo dnf remove gc-devel

gc-devel Package Contents on Fedora 36

---
title: "How To Install gc-devel on Fedora 36"
linkTitle: "gc-devel"
type: "docs"
description: "In this tutorial we learn how to install gc-devel in Fedora 36. gc-devel is Libraries and header files for gc development"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/gc-devel-featured.png
---

## Introduction

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

### What is `gc-devel`

> Libraries and header files for gc development.  

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

## Install gc-devel on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install gc-devel

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

sudo yum -y install gc-devel

How To Uninstall gc-devel on Fedora 36

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

sudo dnf remove gc-devel

gc-devel Package Contents on Fedora 36

/usr/include/gc
/usr/include/gc.h
/usr/include/gc/cord.h
/usr/include/gc/cord_pos.h
/usr/include/gc/ec.h
/usr/include/gc/gc.h
/usr/include/gc/gc_allocator.h
/usr/include/gc/gc_backptr.h
/usr/include/gc/gc_config_macros.h
/usr/include/gc/gc_cpp.h
/usr/include/gc/gc_gcj.h
/usr/include/gc/gc_inline.h
/usr/include/gc/gc_mark.h
/usr/include/gc/gc_pthread_redirects.h
/usr/include/gc/gc_tiny_fl.h
/usr/include/gc/gc_typed.h
/usr/include/gc/gc_version.h
/usr/include/gc/javaxfc.h
/usr/include/gc/leak_detector.h
/usr/include/gc_cpp.h
/usr/lib/libcord.so
/usr/lib/libgc.so
/usr/lib/libgccpp.so
/usr/lib/pkgconfig/bdw-gc.pc
/usr/share/doc/gc-devel
/usr/share/doc/gc-devel/README.environment
/usr/share/doc/gc-devel/README.linux
/usr/share/doc/gc-devel/debugging.md
/usr/share/doc/gc-devel/finalization.md
/usr/share/doc/gc-devel/gcdescr.md
/usr/share/doc/gc-devel/gcinterface.md
/usr/share/doc/gc-devel/leak.md
/usr/share/doc/gc-devel/overview.md
/usr/share/doc/gc-devel/porting.md
/usr/share/doc/gc-devel/scale.md
/usr/share/doc/gc-devel/simple_example.md
/usr/share/doc/gc-devel/tree.md
/usr/share/man/man3/gc.3.gz

References

Summary

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

/usr/include/gc /usr/include/gc.h /usr/include/gc/cord.h /usr/include/gc/cord_pos.h /usr/include/gc/ec.h /usr/include/gc/gc.h /usr/include/gc/gc_allocator.h /usr/include/gc/gc_backptr.h /usr/include/gc/gc_config_macros.h /usr/include/gc/gc_cpp.h /usr/include/gc/gc_gcj.h /usr/include/gc/gc_inline.h /usr/include/gc/gc_mark.h /usr/include/gc/gc_pthread_redirects.h /usr/include/gc/gc_tiny_fl.h /usr/include/gc/gc_typed.h /usr/include/gc/gc_version.h /usr/include/gc/javaxfc.h /usr/include/gc/leak_detector.h /usr/include/gc_cpp.h /usr/lib64/libcord.so /usr/lib64/libgc.so /usr/lib64/libgccpp.so /usr/lib64/pkgconfig/bdw-gc.pc /usr/share/doc/gc-devel /usr/share/doc/gc-devel/README.environment /usr/share/doc/gc-devel/README.linux /usr/share/doc/gc-devel/debugging.md /usr/share/doc/gc-devel/finalization.md /usr/share/doc/gc-devel/gcdescr.md /usr/share/doc/gc-devel/gcinterface.md /usr/share/doc/gc-devel/leak.md /usr/share/doc/gc-devel/overview.md /usr/share/doc/gc-devel/porting.md /usr/share/doc/gc-devel/scale.md /usr/share/doc/gc-devel/simple_example.md /usr/share/doc/gc-devel/tree.md /usr/share/man/man3/gc.3.gz


## References

* [gc-devel website](https://www.hboehm.info/gc/)

## Summary

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