How To Install dpkg-perl on CentOS 8

dpkg-perl is Dpkg perl modules

Introduction

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

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 - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg (.dsc, .changes, Packages/Sources entries, etc.) - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg - Dpkg 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 8. 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 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install dpkg-perl

Install dpkg-perl on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install dpkg-perl

How To Uninstall dpkg-perl on CentOS 8

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

sudo dnf remove dpkg-perl

dpkg-perl Package Contents on CentOS 8

/usr/share/dpkg/no-pie-compile.specs
/usr/share/dpkg/no-pie-link.specs
/usr/share/dpkg/pie-compile.specs
/usr/share/dpkg/pie-link.specs
/usr/share/man/man3/Dpkg.3.gz
/usr/share/man/man3/Dpkg::Arch.3.gz
/usr/share/man/man3/Dpkg::Build::Env.3.gz
/usr/share/man/man3/Dpkg::Build::Info.3.gz
/usr/share/man/man3/Dpkg::Build::Types.3.gz
/usr/share/man/man3/Dpkg::BuildFlags.3.gz
/usr/share/man/man3/Dpkg::BuildOptions.3.gz
/usr/share/man/man3/Dpkg::BuildProfiles.3.gz
/usr/share/man/man3/Dpkg::Changelog.3.gz
/usr/share/man/man3/Dpkg::Changelog::Debian.3.gz
/usr/share/man/man3/Dpkg::Changelog::Entry.3.gz
/usr/share/man/man3/Dpkg::Changelog::Entry::Debian.3.gz
/usr/share/man/man3/Dpkg::Changelog::Parse.3.gz
/usr/share/man/man3/Dpkg::Checksums.3.gz
/usr/share/man/man3/Dpkg::Compression.3.gz
/usr/share/man/man3/Dpkg::Compression::FileHandle.3.gz
/usr/share/man/man3/Dpkg::Compression::Process.3.gz
/usr/share/man/man3/Dpkg::Conf.3.gz
/usr/share/man/man3/Dpkg::Control.3.gz
/usr/share/man/man3/Dpkg::Control::Changelog.3.gz
/usr/share/man/man3/Dpkg::Control::Fields.3.gz
/usr/share/man/man3/Dpkg::Control::FieldsCore.3.gz
/usr/share/man/man3/Dpkg::Control::Hash.3.gz
/usr/share/man/man3/Dpkg::Control::HashCore.3.gz
/usr/share/man/man3/Dpkg::Control::Info.3.gz
/usr/share/man/man3/Dpkg::Control::Tests.3.gz
/usr/share/man/man3/Dpkg::Control::Tests::Entry.3.gz
/usr/share/man/man3/Dpkg::Control::Types.3.gz
/usr/share/man/man3/Dpkg::Deps.3.gz
/usr/share/man/man3/Dpkg::Exit.3.gz
/usr/share/man/man3/Dpkg::Gettext.3.gz
/usr/share/man/man3/Dpkg::IPC.3.gz
/usr/share/man/man3/Dpkg::Index.3.gz
/usr/share/man/man3/Dpkg::Interface::Storable.3.gz
/usr/share/man/man3/Dpkg::Path.3.gz
/usr/share/man/man3/Dpkg::Source::Package.3.gz
/usr/share/man/man3/Dpkg::Substvars.3.gz
/usr/share/man/man3/Dpkg::Vendor.3.gz
/usr/share/man/man3/Dpkg::Vendor::Debian.3.gz
/usr/share/man/man3/Dpkg::Vendor::Default.3.gz
/usr/share/man/man3/Dpkg::Vendor::Ubuntu.3.gz
/usr/share/man/man3/Dpkg::Version.3.gz
/usr/share/perl5/vendor_perl/Dpkg
/usr/share/perl5/vendor_perl/Dpkg.pm
/usr/share/perl5/vendor_perl/Dpkg/Arch.pm
/usr/share/perl5/vendor_perl/Dpkg/Build
/usr/share/perl5/vendor_perl/Dpkg/Build/Env.pm
/usr/share/perl5/vendor_perl/Dpkg/Build/Info.pm
/usr/share/perl5/vendor_perl/Dpkg/Build/Types.pm
/usr/share/perl5/vendor_perl/Dpkg/BuildFlags.pm
/usr/share/perl5/vendor_perl/Dpkg/BuildOptions.pm
/usr/share/perl5/vendor_perl/Dpkg/BuildProfiles.pm
/usr/share/perl5/vendor_perl/Dpkg/Changelog
/usr/share/perl5/vendor_perl/Dpkg/Changelog.pm
/usr/share/perl5/vendor_perl/Dpkg/Changelog/Debian.pm
/usr/share/perl5/vendor_perl/Dpkg/Changelog/Entry
/usr/share/perl5/vendor_perl/Dpkg/Changelog/Entry.pm
/usr/share/perl5/vendor_perl/Dpkg/Changelog/Entry/Debian.pm
/usr/share/perl5/vendor_perl/Dpkg/Changelog/Parse.pm
/usr/share/perl5/vendor_perl/Dpkg/Checksums.pm
/usr/share/perl5/vendor_perl/Dpkg/Compression
/usr/share/perl5/vendor_perl/Dpkg/Compression.pm
/usr/share/perl5/vendor_perl/Dpkg/Compression/FileHandle.pm
/usr/share/perl5/vendor_perl/Dpkg/Compression/Process.pm
/usr/share/perl5/vendor_perl/Dpkg/Conf.pm
/usr/share/perl5/vendor_perl/Dpkg/Control
/usr/share/perl5/vendor_perl/Dpkg/Control.pm
/usr/share/perl5/vendor_perl/Dpkg/Control/Changelog.pm
/usr/share/perl5/vendor_perl/Dpkg/Control/Fields.pm
/usr/share/perl5/vendor_perl/Dpkg/Control/FieldsCore.pm
/usr/share/perl5/vendor_perl/Dpkg/Control/Hash.pm
/usr/share/perl5/vendor_perl/Dpkg/Control/HashCore.pm
/usr/share/perl5/vendor_perl/Dpkg/Control/Info.pm
/usr/share/perl5/vendor_perl/Dpkg/Control/Tests
/usr/share/perl5/vendor_perl/Dpkg/Control/Tests.pm
/usr/share/perl5/vendor_perl/Dpkg/Control/Tests/Entry.pm
/usr/share/perl5/vendor_perl/Dpkg/Control/Types.pm
/usr/share/perl5/vendor_perl/Dpkg/Deps.pm
/usr/share/perl5/vendor_perl/Dpkg/Dist
/usr/share/perl5/vendor_perl/Dpkg/Dist/Files.pm
/usr/share/perl5/vendor_perl/Dpkg/ErrorHandling.pm
/usr/share/perl5/vendor_perl/Dpkg/Exit.pm
/usr/share/perl5/vendor_perl/Dpkg/File.pm
/usr/share/perl5/vendor_perl/Dpkg/Getopt.pm
/usr/share/perl5/vendor_perl/Dpkg/Gettext.pm
/usr/share/perl5/vendor_perl/Dpkg/IPC.pm
/usr/share/perl5/vendor_perl/Dpkg/Index.pm
/usr/share/perl5/vendor_perl/Dpkg/Interface
/usr/share/perl5/vendor_perl/Dpkg/Interface/Storable.pm
/usr/share/perl5/vendor_perl/Dpkg/Package.pm
/usr/share/perl5/vendor_perl/Dpkg/Path.pm
/usr/share/perl5/vendor_perl/Dpkg/Shlibs
/usr/share/perl5/vendor_perl/Dpkg/Shlibs.pm
/usr/share/perl5/vendor_perl/Dpkg/Shlibs/Cppfilt.pm
/usr/share/perl5/vendor_perl/Dpkg/Shlibs/Objdump.pm
/usr/share/perl5/vendor_perl/Dpkg/Shlibs/Symbol.pm
/usr/share/perl5/vendor_perl/Dpkg/Shlibs/SymbolFile.pm
/usr/share/perl5/vendor_perl/Dpkg/Source
/usr/share/perl5/vendor_perl/Dpkg/Source/Archive.pm
/usr/share/perl5/vendor_perl/Dpkg/Source/Functions.pm
/usr/share/perl5/vendor_perl/Dpkg/Source/Package
/usr/share/perl5/vendor_perl/Dpkg/Source/Package.pm
/usr/share/perl5/vendor_perl/Dpkg/Source/Package/V1.pm
/usr/share/perl5/vendor_perl/Dpkg/Source/Package/V2.pm
/usr/share/perl5/vendor_perl/Dpkg/Source/Package/V3
/usr/share/perl5/vendor_perl/Dpkg/Source/Package/V3/Bzr.pm
/usr/share/perl5/vendor_perl/Dpkg/Source/Package/V3/Custom.pm
/usr/share/perl5/vendor_perl/Dpkg/Source/Package/V3/Git.pm
/usr/share/perl5/vendor_perl/Dpkg/Source/Package/V3/Native.pm
/usr/share/perl5/vendor_perl/Dpkg/Source/Package/V3/Quilt.pm
/usr/share/perl5/vendor_perl/Dpkg/Source/Patch.pm
/usr/share/perl5/vendor_perl/Dpkg/Source/Quilt.pm
/usr/share/perl5/vendor_perl/Dpkg/Substvars.pm
/usr/share/perl5/vendor_perl/Dpkg/Util.pm
/usr/share/perl5/vendor_perl/Dpkg/Vars.pm
/usr/share/perl5/vendor_perl/Dpkg/Vendor
/usr/share/perl5/vendor_perl/Dpkg/Vendor.pm
/usr/share/perl5/vendor_perl/Dpkg/Vendor/Debian.pm
/usr/share/perl5/vendor_perl/Dpkg/Vendor/Default.pm
/usr/share/perl5/vendor_perl/Dpkg/Vendor/Ubuntu.pm
/usr/share/perl5/vendor_perl/Dpkg/Version.pm

References

Summary

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