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

Last updated: November 28,2024

1. Install "gcc-gnat.x86_64" package

This guide covers the steps necessary to install gcc-gnat.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8)

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

2. Uninstall "gcc-gnat.x86_64" package

Please follow the guidance below to uninstall gcc-gnat.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8):

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

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

Last metadata expiration check: 0:59:40 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : gcc-gnat
Version : 8.5.0
Release : 21.el8
Architecture : x86_64
Size : 18 M
Source : gcc-epel-8.5.0-21.el8.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).