How to Install and Uninstall gcc Package on openSUSE Leap

Last updated: May 02,2024

1. Install "gcc" package

Learn how to install gcc on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install gcc

2. Uninstall "gcc" package

This tutorial shows how to uninstall gcc on openSUSE Leap:

$ sudo zypper remove gcc

3. Information about the gcc package on openSUSE Leap

Information for package gcc:
----------------------------
Repository : Main Repository
Name : gcc
Version : 7-3.9.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 0 B
Installed : No
Status : not installed
Source package : gcc-7-3.9.1.src
Upstream URL : http://gcc.gnu.org/
Summary : The system GNU C Compiler
Description :
The system GNU C Compiler.