How to Install and Uninstall gcc10 Package on openSUSE Leap

Last updated: May 18,2024

1. Install "gcc10" package

Please follow the instructions below to install gcc10 on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install gcc10

2. Uninstall "gcc10" package

Please follow the steps below to uninstall gcc10 on openSUSE Leap:

$ sudo zypper remove gcc10

3. Information about the gcc10 package on openSUSE Leap

Information for package gcc10:
------------------------------
Repository : Main Repository
Name : gcc10
Version : 10.4.0+git2794-150000.1.9.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 100.7 MiB
Installed : No
Status : not installed
Source package : gcc10-10.4.0+git2794-150000.1.9.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.