How to Install and Uninstall gcc.x86_64 Package on Oracle Linux 9

Last updated: December 27,2024

1. Install "gcc.x86_64" package

Learn how to install gcc.x86_64 on Oracle Linux 9

$ sudo dnf update $ sudo dnf install gcc.x86_64

2. Uninstall "gcc.x86_64" package

This guide covers the steps necessary to uninstall gcc.x86_64 on Oracle Linux 9:

$ sudo dnf remove gcc.x86_64 $ sudo dnf autoremove

3. Information about the gcc.x86_64 package on Oracle Linux 9

Last metadata expiration check: 0:06:48 ago on Thu Feb 15 07:50:05 2024.
Available Packages
Name : gcc
Version : 11.4.1
Release : 2.1.0.1.el9
Architecture : x86_64
Size : 32 M
Source : gcc-11.4.1-2.1.0.1.el9.src.rpm
Repository : ol9_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 11.
: You'll need this package in order to compile C code.