How to Install and Uninstall gcc10-c++.x86_64 Package on Amazon Linux 2

Last updated: May 03,2024

1. Install "gcc10-c++.x86_64" package

This guide let you learn how to install gcc10-c++.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install gcc10-c++.x86_64

2. Uninstall "gcc10-c++.x86_64" package

Please follow the guidelines below to uninstall gcc10-c++.x86_64 on Amazon Linux 2:

$ sudo yum remove gcc10-c++.x86_64 $ sudo yum autoremove

3. Information about the gcc10-c++.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : gcc10-c++
Arch : x86_64
Version : 10.3.1
Release : 1.amzn2.0.1
Size : 11 M
Repo : amzn2-core/2/x86_64
Summary : C++ support for GCC version 10
URL : http://gcc.gnu.org
License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and
: LGPLv2+ and BSD
Description : This package adds C++ support to the GNU Compiler Collection
: version 10. It includes support for most of the current C++
: specification, including templates and exception handling.