How To Install python3-colcon-lcov-result on AlmaLinux 8

In this tutorial we learn how to install python3-colcon-lcov-result in AlmaLinux 8. python3-colcon-lcov-result is Extension for colcon to provide test results using LCOV

Introduction

In this tutorial we learn how to install python3-colcon-lcov-result on AlmaLinux 8.

What is python3-colcon-lcov-result

An extension for colcon-core to provide aggregate coverage results using LCOV. LCOV is a graphical front-end for GCC’s coverage testing tool gcov, producing the following coverage metrics - Statement coverage - Function coverage - Branch coverage

We can use yum or dnf to install python3-colcon-lcov-result on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-colcon-lcov-result.

Install python3-colcon-lcov-result on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-colcon-lcov-result using dnf by running the following command:

sudo dnf -y install python3-colcon-lcov-result

Install python3-colcon-lcov-result on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-colcon-lcov-result using yum by running the following command:

sudo yum -y install python3-colcon-lcov-result

How To Uninstall python3-colcon-lcov-result on AlmaLinux 8

To uninstall only the python3-colcon-lcov-result package we can use the following command:

sudo dnf remove python3-colcon-lcov-result

References

Summary

In this tutorial we learn how to install python3-colcon-lcov-result on AlmaLinux 8 using yum and dnf.