How to Install and Uninstall clang-tools Package on openSUSE Leap

Last updated: December 24,2024

1. Install "clang-tools" package

This is a short guide on how to install clang-tools on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install clang-tools

2. Uninstall "clang-tools" package

Please follow the guidance below to uninstall clang-tools on openSUSE Leap:

$ sudo zypper remove clang-tools

3. Information about the clang-tools package on openSUSE Leap

Information for package clang-tools:
------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : clang-tools
Version : 15.0.7-150500.4.4.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 1.1 MiB
Installed : No
Status : not installed
Source package : llvm15-15.0.7-150500.4.4.1.src
Upstream URL : https://clang-analyzer.llvm.org/
Summary : Tools for Clang
Description :
This package contains tools and scripts for using Clang, including:
* bash completions for clang,
* the clang-doc tool,
* plugins for using clang-format, clang-rename, clang-include-fixer
in vim and emacs.
* scripts for using clang-format: git-clang-format and clang-format-diff,
* scripts for using clang-tidy: run-clang-tidy and clang-tidy-diff,
* scripts for using the Clang static analyzer: scan-build and scan-view,
* a script for using find-all-symbols: run-find-all-symbols.