How To Install libreport-rhel on CentOS 7

In this tutorial we learn how to install libreport-rhel on CentOS 7. libreport-rhel is Default configuration for reporting bugs via Red Hat

Introduction

In this tutorial we learn how to install libreport-rhel on CentOS 7.

What is libreport-rhel

Default configuration for reporting bugs via Red Hat infrastructure used to easily configure the reporting process for Red Hat systems. Just install this package and you’re done.

We can use yum or dnf to install libreport-rhel on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libreport-rhel.

Install libreport-rhel on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libreport-rhel using yum by running the following command:

sudo yum -y install libreport-rhel

Install libreport-rhel on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install libreport-rhel using dnf by running the following command:

sudo dnf -y install libreport-rhel

How To Uninstall libreport-rhel on CentOS 7

To uninstall only the libreport-rhel package we can use the following command:

sudo dnf remove libreport-rhel

References

Summary

In this tutorial we learn how to install libreport-rhel on CentOS 7 using yum and dnf.