How To Install dh-autoreconf on Rocky Linux 8
Introduction
In this tutorial we learn how to install dh-autoreconf
on Rocky Linux 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 Rocky Linux 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 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 dh-autoreconf
using dnf
by running the following command:
sudo dnf -y install dh-autoreconf
Install dh-autoreconf 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 dh-autoreconf
using yum
by running the following command:
sudo yum -y install dh-autoreconf
How To Uninstall dh-autoreconf on Rocky Linux 8
To uninstall only the dh-autoreconf
package we can use the following command:
sudo dnf remove dh-autoreconf
dh-autoreconf Package Contents on Rocky Linux 8
/usr/bin/dh_autoreconf
/usr/bin/dh_autoreconf_clean
/usr/share/cdbs/1/rules/autoreconf.mk
/usr/share/dh-autoreconf
/usr/share/dh-autoreconf/ltmain-as-needed.diff
/usr/share/licenses/dh-autoreconf
/usr/share/licenses/dh-autoreconf/copyright
/usr/share/man/man1/dh_autoreconf.1.gz
/usr/share/man/man1/dh_autoreconf_clean.1.gz
/usr/share/man/man7/dh-autoreconf.7.gz
/usr/share/perl5/vendor_perl/Debian
/usr/share/perl5/vendor_perl/Debian/Debhelper
/usr/share/perl5/vendor_perl/Debian/Debhelper/Sequence
/usr/share/perl5/vendor_perl/Debian/Debhelper/Sequence/autoreconf.pm
References
Summary
In this tutorial we learn how to install dh-autoreconf
on Rocky Linux 8 using yum and dnf.