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

Last updated: November 28,2024

1. Install "gcc-c++.x86_64" package

In this section, we are going to explain the necessary steps to install gcc-c++.x86_64 on Rocky Linux 9

$ sudo dnf update $ sudo dnf install gcc-c++.x86_64

2. Uninstall "gcc-c++.x86_64" package

Please follow the step by step instructions below to uninstall gcc-c++.x86_64 on Rocky Linux 9:

$ sudo dnf remove gcc-c++.x86_64 $ sudo dnf autoremove

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

Last metadata expiration check: 1:44:47 ago on Fri Feb 16 06:49:52 2024.
Available Packages
Name : gcc-c++
Version : 11.4.1
Release : 2.1.el9
Architecture : x86_64
Size : 13 M
Source : gcc-11.4.1-2.1.el9.src.rpm
Repository : appstream
Summary : C++ support for GCC
URL : http://gcc.gnu.org
License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
Description : This package adds C++ support to the GNU Compiler Collection.
: It includes support for most of the current C++ specification,
: including templates and exception handling.