How to Install and Uninstall gcc-toolset-12-gcc.x86_64 Package on CentOS Stream 8

Last updated: October 06,2024

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

In this section, we are going to explain the necessary steps to install gcc-toolset-12-gcc.x86_64 on CentOS Stream 8

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

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

Please follow the guidelines below to uninstall gcc-toolset-12-gcc.x86_64 on CentOS Stream 8:

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

3. Information about the gcc-toolset-12-gcc.x86_64 package on CentOS Stream 8

Last metadata expiration check: 1:47:56 ago on Sun Feb 25 03:03:59 2024.
Available Packages
Name : gcc-toolset-12-gcc
Version : 12.2.1
Release : 7.4.el8
Architecture : x86_64
Size : 44 M
Source : gcc-toolset-12-gcc-12.2.1-7.4.el8.src.rpm
Repository : baseos
Summary : GCC version 12
URL : http://gcc.gnu.org
License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
Description : The gcc-toolset-12-gcc package contains the GNU Compiler Collection version 10.