How To Install dpkg-perl on CentOS 7

In this tutorial we learn how to install dpkg-perl on CentOS 7. dpkg-perl is Dpkg perl modules

Introduction

In this tutorial we learn how to install dpkg-perl on CentOS 7.

What is dpkg-perl

This package provides the perl modules used by the scripts in dpkg-dev. They cover a wide range of functionality. Among them there are the following public modules . - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg dpkg-parsechangelog - Dpkg - Dpkg methods - Dpkg - Dpkg - Dpkg - Dpkg (.dsc, .changes, Packages/Sources entries, etc.) - Dpkg dpkg-parsechangelog - Dpkg - Dpkg RFC822-like fields - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg files for example) - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg . All the packages listed in Suggests or Recommends are used by some of the modules.

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

Install dpkg-perl on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install dpkg-perl

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

sudo dnf -y install dpkg-perl

How To Uninstall dpkg-perl on CentOS 7

To uninstall only the dpkg-perl package we can use the following command:

sudo dnf remove dpkg-perl

References

Summary

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