How To Install gc-devel on CentOS 8

gc-devel is Libraries and header files for gc development Libraries and header files for gc development

Introduction

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

What is gc-devel

Libraries and header files for gc development. gc-devel 7.6.4 3.el8 x86_64 127 k gc-7.6.4-3.el8.src.rpm powertools Libraries and header files for gc development http BSD Libraries and header files for gc development.

We can use yum or dnf to install gc-devel on CentOS 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 CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove gc-devel

gc-devel Package Contents on CentOS 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 CentOS 8 using yum and dnf.