How to Install and Uninstall gcc12-c++ Package on openSUSE Leap

Last updated: June 03,2024

1. Install "gcc12-c++" package

Please follow the guidelines below to install gcc12-c++ on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install gcc12-c++

2. Uninstall "gcc12-c++" package

Please follow the instructions below to uninstall gcc12-c++ on openSUSE Leap:

$ sudo zypper remove gcc12-c++

3. Information about the gcc12-c++ package on openSUSE Leap

Information for package gcc12-c++:
----------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : gcc12-c++
Version : 12.3.0+git1204-150000.1.16.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 31.4 MiB
Installed : No
Status : not installed
Source package : gcc12-12.3.0+git1204-150000.1.16.1.src
Upstream URL : https://gcc.gnu.org/
Summary : The GNU C++ Compiler
Description :
This package contains the GNU compiler for C++.