How To Install gc-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gc-devel.x86_64 in Amazon Linux 2. gc-devel.x86_64 is Libraries and header files for gc development

Introduction

In this tutorial we learn how to install gc-devel.x86_64 on Amazon Linux 2.

What is gc-devel.x86_64

Libraries and header files for gc development.

We can use yum to install gc-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gc-devel.x86_64.

Install gc-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install gc-devel.x86_64

How To Uninstall gc-devel.x86_64 on Amazon Linux 2

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

sudo yum remove gc-devel.x86_64

gc-devel.x86_64 Package Contents on Amazon Linux 2

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

References

Summary

In this tutorial we learn how to install gc-devel.x86_64 on Amazon Linux 2 using yum.