How to Install and Uninstall gcovr Package on openSUSE Leap

Last updated: November 05,2024

1. Install "gcovr" package

Please follow the step by step instructions below to install gcovr on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install gcovr

2. Uninstall "gcovr" package

This guide covers the steps necessary to uninstall gcovr on openSUSE Leap:

$ sudo zypper remove gcovr

3. Information about the gcovr package on openSUSE Leap

Information for package gcovr:
------------------------------
Repository : Main Repository
Name : gcovr
Version : 5.2-bp155.1.5
Arch : noarch
Vendor : openSUSE
Installed Size : 527.9 KiB
Installed : No
Status : not installed
Source package : gcovr-5.2-bp155.1.5.src
Upstream URL : https://gcovr.com/
Summary : A code coverage report generator using GNU gcov
Description :
Gcovr provides a utility for managing the use of the GNU gcov utility
and generating summarized code coverage results.
This command is inspired by the Python coverage.py package, which provides
a similar utility in Python. The gcovr command produces either compact
human-readable summary reports, machine readable XML reports
(in Cobertura format) or simple HTML reports. Thus, gcovr can be viewed
as a command-line alternative to the lcov utility, which runs gcov and
generates an HTML-formatted report.