How To Install gc-devel on Rocky Linux 8

In this tutorial we learn how to install gc-devel on Rocky Linux 8. gc-devel is Libraries and header files for gc development

Introduction

In this tutorial we learn how to install gc-devel on Rocky Linux 8.

What is gc-devel

Libraries and header files for gc development.

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

Install gc-devel on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8

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

sudo dnf remove gc-devel

gc-devel Package Contents on Rocky Linux 8

/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_disclaim.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/weakpointer.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.html
/usr/share/doc/gc-devel/finalization.html
/usr/share/doc/gc-devel/gcdescr.html
/usr/share/doc/gc-devel/gcinterface.html
/usr/share/doc/gc-devel/leak.html
/usr/share/doc/gc-devel/overview.html
/usr/share/doc/gc-devel/porting.html
/usr/share/doc/gc-devel/scale.html
/usr/share/doc/gc-devel/simple_example.html
/usr/share/doc/gc-devel/tree.html
/usr/share/man/man3/gc.3.gz
/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_disclaim.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/weakpointer.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.html
/usr/share/doc/gc-devel/finalization.html
/usr/share/doc/gc-devel/gcdescr.html
/usr/share/doc/gc-devel/gcinterface.html
/usr/share/doc/gc-devel/leak.html
/usr/share/doc/gc-devel/overview.html
/usr/share/doc/gc-devel/porting.html
/usr/share/doc/gc-devel/scale.html
/usr/share/doc/gc-devel/simple_example.html
/usr/share/doc/gc-devel/tree.html
/usr/share/man/man3/gc.3.gz

References

Summary

In this tutorial we learn how to install gc-devel on Rocky Linux 8 using yum and dnf.