How to Install and Uninstall gcc12 Package on openSUSE Leap

Last updated: December 26,2024

1. Install "gcc12" package

Please follow the instructions below to install gcc12 on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install gcc12

2. Uninstall "gcc12" package

Here is a brief guide to show you how to uninstall gcc12 on openSUSE Leap:

$ sudo zypper remove gcc12

3. Information about the gcc12 package on openSUSE Leap

Information for package gcc12:
------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : gcc12
Version : 12.3.0+git1204-150000.1.16.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 116.0 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 and Support Files
Description :
Core package for the GNU Compiler Collection, including the C language
frontend.
Language frontends other than C are split to different sub-packages,
namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++ and gcc-go.