How to Install and Uninstall gcc11 Package on openSUSE Leap

Last updated: May 09,2024

1. Install "gcc11" package

This tutorial shows how to install gcc11 on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install gcc11

2. Uninstall "gcc11" package

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

$ sudo zypper remove gcc11

3. Information about the gcc11 package on openSUSE Leap

Information for package gcc11:
------------------------------
Repository : Main Repository
Name : gcc11
Version : 11.3.0+git1637-150000.1.11.2
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 102.0 MiB
Installed : No
Status : not installed
Source package : gcc11-11.3.0+git1637-150000.1.11.2.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.