How To Install recap on Rocky Linux 8

In this tutorial we learn how to install recap on Rocky Linux 8. recap is Generates reports of various system information

Introduction

In this tutorial we learn how to install recap on Rocky Linux 8.

What is recap

This program is intended to be used as a companion for the reporting provided by sysstat. It will create a set of reports summarizing hardware resource utilization. The script also provides optional reporting on Apache, MySQL, and network connections.

We can use yum or dnf to install recap on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install recap.

Install recap on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install recap

Install recap on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install recap using yum by running the following command:

sudo yum -y install recap

How To Uninstall recap on Rocky Linux 8

To uninstall only the recap package we can use the following command:

sudo dnf remove recap

recap Package Contents on Rocky Linux 8

/etc/recap.conf
/usr/lib/recap/core/fdisk
/usr/lib/recap/core/mysql
/usr/lib/recap/core/netstat
/usr/lib/recap/core/ps
/usr/lib/recap/core/pstree
/usr/lib/recap/core/resources
/usr/lib/recap/core/send_mail
/usr/lib/recap/plugins-available/docker_top
/usr/lib/recap/plugins-available/http_status
/usr/lib/recap/plugins-available/kernel_cmd
/usr/lib/recap/plugins-available/redis
/usr/lib/recap/plugins-available/system_locks
/usr/lib/recap/plugins-enabled
/usr/lib/systemd/system/recap-onboot.service
/usr/lib/systemd/system/recap-onboot.timer
/usr/lib/systemd/system/recap.service
/usr/lib/systemd/system/recap.timer
/usr/lib/systemd/system/recaplog.service
/usr/lib/systemd/system/recaplog.timer
/usr/sbin/recap
/usr/sbin/recaplog
/usr/sbin/recaptool
/usr/share/doc/recap
/usr/share/doc/recap/CHANGELOG.md
/usr/share/doc/recap/README.md
/usr/share/licenses/recap
/usr/share/licenses/recap/COPYING
/usr/share/man/man5/recap.conf.5.gz
/usr/share/man/man8/recap.8.gz
/usr/share/man/man8/recaplog.8.gz
/usr/share/man/man8/recaptool.8.gz
/var/log/recap
/var/log/recap/backups
/var/log/recap/snapshots

References

Summary

In this tutorial we learn how to install recap on Rocky Linux 8 using yum and dnf.