How to Install and Uninstall gcc-toolset-12-gcc-c++.x86_64 Package on Red Hat Enterprise Linux 8 (RHEL 8)

Last updated: November 24,2024

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

Please follow the steps below to install gcc-toolset-12-gcc-c++.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8)

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

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

Here is a brief guide to show you how to uninstall gcc-toolset-12-gcc-c++.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8):

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

3. Information about the gcc-toolset-12-gcc-c++.x86_64 package on Red Hat Enterprise Linux 8 (RHEL 8)

Last metadata expiration check: 1:54:19 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : gcc-toolset-12-gcc-c++
Version : 12.2.1
Release : 7.4.el8
Architecture : x86_64
Size : 13 M
Source : gcc-toolset-12-gcc-12.2.1-7.4.el8.src.rpm
Repository : ubi-8-appstream-rpms
Summary : C++ support for GCC version 12
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
: version 12. It includes support for most of the current C++ specification
: and a lot of support for the upcoming C++ specification.