How To Install debhelper on AlmaLinux 8

In this tutorial we learn how to install debhelper in AlmaLinux 8. debhelper is Helper programs for debian/rules

Introduction

In this tutorial we learn how to install debhelper on AlmaLinux 8.

What is debhelper

A collection of programs that can be used in a debian/rules file to automate common tasks related to building Debian packages. Programs are included to install various files into your package, compress files, fix file permissions, integrate your package with the Debian menu system, debconf, doc-base, etc. Most Debian packages use debhelper as part of their build process.

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

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

sudo dnf -y install debhelper

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

sudo yum -y install debhelper

How To Uninstall debhelper on AlmaLinux 8

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

sudo dnf remove debhelper

References

Summary

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