How to Install and Uninstall gcc-gnat.x86_64 Package on Rocky Linux 9

Last updated: October 06,2024

1. Install "gcc-gnat.x86_64" package

This tutorial shows how to install gcc-gnat.x86_64 on Rocky Linux 9

$ sudo dnf update $ sudo dnf install gcc-gnat.x86_64

2. Uninstall "gcc-gnat.x86_64" package

In this section, we are going to explain the necessary steps to uninstall gcc-gnat.x86_64 on Rocky Linux 9:

$ sudo dnf remove gcc-gnat.x86_64 $ sudo dnf autoremove

3. Information about the gcc-gnat.x86_64 package on Rocky Linux 9

Last metadata expiration check: 1:58:26 ago on Fri Feb 16 06:49:52 2024.
Available Packages
Name : gcc-gnat
Version : 11.4.1
Release : 4.el9
Architecture : x86_64
Size : 16 M
Source : gcc-epel-11.4.1-4.el9.src.rpm
Repository : epel
Summary : Ada 83, 95, 2005 and 2012 support for GCC
URL : http://gcc.gnu.org
License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
Description : GNAT is a GNU Ada 83, 95, 2005 and 2012 front-end to GCC. This package includes
: development tools, the documents and Ada compiler.
:
: Important: Please use 'gnatgcc' rather than 'gcc' for a GCC with Ada/GNAT
: support because 'gcc' is unfortunately not really modular and was also
: built without Ada/GNAT support by Red Hat (or a vendor of a 100% bug-for-bug
: compatible drop-in distribution).