How to Install and Uninstall gcc.x86_64 Package on Rocky Linux 8

Last updated: November 13,2024

1. Install "gcc.x86_64" package

This guide covers the steps necessary to install gcc.x86_64 on Rocky Linux 8

$ sudo dnf update $ sudo dnf install gcc.x86_64

2. Uninstall "gcc.x86_64" package

Please follow the steps below to uninstall gcc.x86_64 on Rocky Linux 8:

$ sudo dnf remove gcc.x86_64 $ sudo dnf autoremove

3. Information about the gcc.x86_64 package on Rocky Linux 8

Last metadata expiration check: 0:38:43 ago on Mon Sep 12 10:27:18 2022.
Available Packages
Name : gcc
Version : 8.5.0
Release : 10.1.el8_6
Architecture : x86_64
Size : 23 M
Source : gcc-8.5.0-10.1.el8_6.src.rpm
Repository : appstream
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.