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

Last updated: November 28,2024

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

Learn how to install gcc-toolset-12.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8)

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

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

This is a short guide on how to uninstall gcc-toolset-12.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8):

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

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

Last metadata expiration check: 0:29:43 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : gcc-toolset-12
Version : 12.0
Release : 6.el8
Architecture : x86_64
Size : 11 k
Source : gcc-toolset-12-12.0-6.el8.src.rpm
Repository : ubi-8-appstream-rpms
Summary : Package that installs gcc-toolset-12
License : GPLv2+
Description : This is the main package for gcc-toolset-12 Software Collection.