How to Install and Uninstall compat-gcc-48.x86_64 Package on Amazon Linux 2

Last updated: May 02,2024

1. Install "compat-gcc-48.x86_64" package

This guide covers the steps necessary to install compat-gcc-48.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install compat-gcc-48.x86_64

2. Uninstall "compat-gcc-48.x86_64" package

This guide covers the steps necessary to uninstall compat-gcc-48.x86_64 on Amazon Linux 2:

$ sudo yum remove compat-gcc-48.x86_64 $ sudo yum autoremove

3. Information about the compat-gcc-48.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : compat-gcc-48
Arch : x86_64
Version : 4.8.5
Release : 16.amzn2.0.4
Size : 18 M
Repo : amzn2-core/2/x86_64
Summary : Various compilers (C, C++, Objective-C, Java, ...)
URL : http://gcc.gnu.org
License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and
: LGPLv2+ and BSD
Description : The gcc package contains the GNU Compiler Collection version 4.8.
: You'll need this package in order to compile C code.