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

Last updated: January 16,2025

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 8

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

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

Here is a brief guide to show you how to uninstall gcc-c++.x86_64 on Rocky Linux 8:

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

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

Last metadata expiration check: 1:11:05 ago on Mon Sep 12 10:27:18 2022.
Available Packages
Name : gcc-c++
Version : 8.5.0
Release : 10.1.el8_6
Architecture : x86_64
Size : 12 M
Source : gcc-8.5.0-10.1.el8_6.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.