How To Install dh-autoreconf on AlmaLinux 8

In this tutorial we learn how to install dh-autoreconf in AlmaLinux 8. dh-autoreconf is debhelper add-on to call autoreconf and clean up after the build

Introduction

In this tutorial we learn how to install dh-autoreconf on AlmaLinux 8.

What is dh-autoreconf

dh-autoreconf provides a debhelper sequence addon named ‘autoreconf’ and two commands, dh_autoreconf and dh_autoreconf_clean. * The dh_autoreconf command creates a list of the files and their checksums, calls autoreconf and then creates a second list for the new files. * The dh_autoreconf_clean command compares these two lists and removes all files which have been added or changed (files may be excluded if needed). For CDBS users, a rule is provided to call the dh-autoreconf programs at the right time.

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

Install dh-autoreconf 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 dh-autoreconf using dnf by running the following command:

sudo dnf -y install dh-autoreconf

Install dh-autoreconf 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 dh-autoreconf using yum by running the following command:

sudo yum -y install dh-autoreconf

How To Uninstall dh-autoreconf on AlmaLinux 8

To uninstall only the dh-autoreconf package we can use the following command:

sudo dnf remove dh-autoreconf

References

Summary

In this tutorial we learn how to install dh-autoreconf on AlmaLinux 8 using yum and dnf.