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

Last updated: October 06,2024

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

This guide let you learn how to install gcc-toolset-12-gcc-c++.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9)

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

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

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

$ 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 9 (RHEL 9)

Last metadata expiration check: 2:15:46 ago on Mon Feb 26 07:04:30 2024.
Available Packages
Name : gcc-toolset-12-gcc-c++
Version : 12.2.1
Release : 7.4.el9
Architecture : x86_64
Size : 13 M
Source : gcc-toolset-12-gcc-12.2.1-7.4.el9.src.rpm
Repository : ubi-9-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.