How to Install and Uninstall gcc.x86_64 Package on CentOS 7 / RHEL 7

Last updated: March 29,2024

1. Install "gcc.x86_64" package

Please follow the instructions below to install gcc.x86_64 on CentOS 7 / RHEL 7

$ sudo yum makecache $ sudo yum install gcc.x86_64

2. Uninstall "gcc.x86_64" package

Please follow the guidance below to uninstall gcc.x86_64 on CentOS 7 / RHEL 7:

$ sudo yum remove gcc.x86_64 $ sudo yum autoremove

3. Information about the gcc.x86_64 package on CentOS 7 / RHEL 7

Installed Packages
Name : gcc
Arch : x86_64
Version : 4.8.5
Release : 44.el7
Size : 37 M
Repo : installed
From repo : base
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.