How To Install Gcovr In Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS?

How To Install Gcovr In Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS?

gcovr

Manages the compilation of coverage information from gcov

Maintainer: Wolfgang Silbermayr



Section: devel

Install gcovr

  • Debian apt-get install gcovr Click to copy
  • Ubuntu apt-get install gcovr Click to copy
  • Alpine OS apk add gcovr Click to copy
  • Arch Linux pacman -S gcovr Click to copy
  • Kali Linux apt-get install gcovr Click to copy
  • Fedora dnf install gcovr Click to copy
  • Raspbian apt-get install gcovr Click to copy
  • macOS brew install gcovr Click to copy

gcovr

Manages the compilation of coverage information from gcov

The gcovr command provides a utility for running the gcov command and summarizing code coverage results. This command is inspired by the Python coverage.py package, which provides a similar utility in Python. Further, gcovr can be viewed as a command-line alternative of the lcov utility, which runs gcov and generates an HTML output.

Installing gcovr command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of gcovr 2026 package in your OS.