How to Install and Uninstall gc.x86_64 Package on Amazon Linux 2

Last updated: January 12,2025

1. Install "gc.x86_64" package

In this section, we are going to explain the necessary steps to install gc.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install gc.x86_64

2. Uninstall "gc.x86_64" package

This guide covers the steps necessary to uninstall gc.x86_64 on Amazon Linux 2:

$ sudo yum remove gc.x86_64 $ sudo yum autoremove

3. Information about the gc.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : gc
Arch : x86_64
Version : 7.6.4
Release : 3.amzn2.0.2
Size : 102 k
Repo : amzn2-core/2/x86_64
Summary : A garbage collector for C and C++
URL : http://www.hboehm.info/gc/
License : BSD
Description : The Boehm-Demers-Weiser conservative garbage collector can be
: used as a garbage collecting replacement for C malloc or C++ new.