How to Install and Uninstall clang Package on openSUSE Leap

Last updated: May 05,2024

1. Install "clang" package

Learn how to install clang on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install clang

2. Uninstall "clang" package

In this section, we are going to explain the necessary steps to uninstall clang on openSUSE Leap:

$ sudo zypper remove clang

3. Information about the clang package on openSUSE Leap

Information for package clang:
------------------------------
Repository : Main Repository
Name : clang
Version : 15.0.7-bp155.1.7
Arch : x86_64
Vendor : openSUSE
Installed Size : 72 B
Installed : No
Status : not installed
Source package : llvm-15.0.7-bp155.1.7.src
Upstream URL : https://clang.llvm.org/
Summary : CLANG frontend for LLVM
Description :
This package contains the clang (C language) frontend for LLVM.
This package is a dummy package that depends on the version of
clang that openSUSE currently supports. Packages that
don't require a specific Clang version should depend on this.