How to Install and Uninstall gcc.x86_64 Package on Red Hat Enterprise Linux 8 (RHEL 8)

Last updated: November 28,2024

1. Install "gcc.x86_64" package

Here is a brief guide to show you how to install gcc.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8)

$ sudo dnf update $ sudo dnf install gcc.x86_64

2. Uninstall "gcc.x86_64" package

This is a short guide on how to uninstall gcc.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8):

$ sudo dnf remove gcc.x86_64 $ sudo dnf autoremove

3. Information about the gcc.x86_64 package on Red Hat Enterprise Linux 8 (RHEL 8)

Last metadata expiration check: 1:04:16 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : gcc
Version : 8.5.0
Release : 20.el8
Architecture : x86_64
Size : 23 M
Source : gcc-8.5.0-20.el8.src.rpm
Repository : ubi-8-appstream-rpms
Summary : Various compilers (C, C++, Objective-C, ...)
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 8.
: You'll need this package in order to compile C code.