How To Install dpkg-dev on CentOS 8

dpkg-dev is Debian package development tools

Introduction

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

What is dpkg-dev

This package provides the development tools (including dpkg-source) required to unpack, build and upload Debian source packages. . Most Debian source packages will require additional tools to build; for example, most packages need make and the C compiler gcc.

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

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

sudo dnf -y install dpkg-dev

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

sudo yum -y install dpkg-dev

How To Uninstall dpkg-dev on CentOS 8

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

sudo dnf remove dpkg-dev

dpkg-dev Package Contents on CentOS 8

/etc/dpkg/shlibs.default
/etc/dpkg/shlibs.override
/usr/bin/dpkg-architecture
/usr/bin/dpkg-buildflags
/usr/bin/dpkg-buildpackage
/usr/bin/dpkg-checkbuilddeps
/usr/bin/dpkg-distaddfile
/usr/bin/dpkg-genbuildinfo
/usr/bin/dpkg-genchanges
/usr/bin/dpkg-gencontrol
/usr/bin/dpkg-gensymbols
/usr/bin/dpkg-mergechangelogs
/usr/bin/dpkg-name
/usr/bin/dpkg-parsechangelog
/usr/bin/dpkg-scanpackages
/usr/bin/dpkg-scansources
/usr/bin/dpkg-shlibdeps
/usr/bin/dpkg-source
/usr/bin/dpkg-vendor
/usr/share/doc/dpkg-dev
/usr/share/doc/dpkg-dev/AUTHORS
/usr/share/doc/dpkg-dev/README.api
/usr/share/doc/dpkg-dev/THANKS
/usr/share/doc/dpkg-dev/frontend.txt
/usr/share/doc/dpkg-dev/triggers.txt
/usr/share/doc/dpkg-dev/usertags
/usr/share/dpkg/architecture.mk
/usr/share/dpkg/buildflags.mk
/usr/share/dpkg/default.mk
/usr/share/dpkg/pkg-info.mk
/usr/share/dpkg/vendor.mk
/usr/share/locale/ca/LC_MESSAGES/dpkg-dev.mo
/usr/share/locale/de/LC_MESSAGES/dpkg-dev.mo
/usr/share/locale/es/LC_MESSAGES/dpkg-dev.mo
/usr/share/locale/fr/LC_MESSAGES/dpkg-dev.mo
/usr/share/locale/pl/LC_MESSAGES/dpkg-dev.mo
/usr/share/locale/ru/LC_MESSAGES/dpkg-dev.mo
/usr/share/locale/sv/LC_MESSAGES/dpkg-dev.mo
/usr/share/man/de/man1/dpkg-architecture.1.gz
/usr/share/man/de/man1/dpkg-buildflags.1.gz
/usr/share/man/de/man1/dpkg-buildpackage.1.gz
/usr/share/man/de/man1/dpkg-checkbuilddeps.1.gz
/usr/share/man/de/man1/dpkg-distaddfile.1.gz
/usr/share/man/de/man1/dpkg-genbuildinfo.1.gz
/usr/share/man/de/man1/dpkg-genchanges.1.gz
/usr/share/man/de/man1/dpkg-gencontrol.1.gz
/usr/share/man/de/man1/dpkg-gensymbols.1.gz
/usr/share/man/de/man1/dpkg-mergechangelogs.1.gz
/usr/share/man/de/man1/dpkg-name.1.gz
/usr/share/man/de/man1/dpkg-parsechangelog.1.gz
/usr/share/man/de/man1/dpkg-scanpackages.1.gz
/usr/share/man/de/man1/dpkg-scansources.1.gz
/usr/share/man/de/man1/dpkg-shlibdeps.1.gz
/usr/share/man/de/man1/dpkg-source.1.gz
/usr/share/man/de/man1/dpkg-vendor.1.gz
/usr/share/man/de/man5/deb-buildinfo.5.gz
/usr/share/man/de/man5/deb-changelog.5.gz
/usr/share/man/de/man5/deb-changes.5.gz
/usr/share/man/de/man5/deb-conffiles.5.gz
/usr/share/man/de/man5/deb-control.5.gz
/usr/share/man/de/man5/deb-extra-override.5.gz
/usr/share/man/de/man5/deb-old.5.gz
/usr/share/man/de/man5/deb-origin.5.gz
/usr/share/man/de/man5/deb-override.5.gz
/usr/share/man/de/man5/deb-postinst.5.gz
/usr/share/man/de/man5/deb-postrm.5.gz
/usr/share/man/de/man5/deb-preinst.5.gz
/usr/share/man/de/man5/deb-prerm.5.gz
/usr/share/man/de/man5/deb-shlibs.5.gz
/usr/share/man/de/man5/deb-split.5.gz
/usr/share/man/de/man5/deb-src-control.5.gz
/usr/share/man/de/man5/deb-src-files.5.gz
/usr/share/man/de/man5/deb-substvars.5.gz
/usr/share/man/de/man5/deb-symbols.5.gz
/usr/share/man/de/man5/deb-triggers.5.gz
/usr/share/man/de/man5/deb-version.5.gz
/usr/share/man/de/man5/deb.5.gz
/usr/share/man/de/man5/deb822.5.gz
/usr/share/man/de/man5/dsc.5.gz
/usr/share/man/es/man1/dpkg-distaddfile.1.gz
/usr/share/man/es/man1/dpkg-gencontrol.1.gz
/usr/share/man/es/man1/dpkg-mergechangelogs.1.gz
/usr/share/man/es/man1/dpkg-name.1.gz
/usr/share/man/es/man1/dpkg-scansources.1.gz
/usr/share/man/es/man1/dpkg-vendor.1.gz
/usr/share/man/es/man5/deb-extra-override.5.gz
/usr/share/man/es/man5/deb-old.5.gz
/usr/share/man/es/man5/deb-override.5.gz
/usr/share/man/es/man5/deb-split.5.gz
/usr/share/man/fr/man1/dpkg-architecture.1.gz
/usr/share/man/fr/man1/dpkg-distaddfile.1.gz
/usr/share/man/fr/man1/dpkg-gencontrol.1.gz
/usr/share/man/fr/man1/dpkg-gensymbols.1.gz
/usr/share/man/fr/man1/dpkg-mergechangelogs.1.gz
/usr/share/man/fr/man1/dpkg-name.1.gz
/usr/share/man/fr/man1/dpkg-scansources.1.gz
/usr/share/man/fr/man1/dpkg-shlibdeps.1.gz
/usr/share/man/fr/man1/dpkg-vendor.1.gz
/usr/share/man/fr/man5/deb-extra-override.5.gz
/usr/share/man/fr/man5/deb-old.5.gz
/usr/share/man/fr/man5/deb-override.5.gz
/usr/share/man/fr/man5/deb-split.5.gz
/usr/share/man/ja/man1/dpkg-distaddfile.1.gz
/usr/share/man/ja/man1/dpkg-gencontrol.1.gz
/usr/share/man/ja/man1/dpkg-mergechangelogs.1.gz
/usr/share/man/ja/man1/dpkg-name.1.gz
/usr/share/man/ja/man1/dpkg-scansources.1.gz
/usr/share/man/ja/man1/dpkg-vendor.1.gz
/usr/share/man/ja/man5/deb-extra-override.5.gz
/usr/share/man/ja/man5/deb-old.5.gz
/usr/share/man/ja/man5/deb-override.5.gz
/usr/share/man/ja/man5/deb-split.5.gz
/usr/share/man/man1/dpkg-architecture.1.gz
/usr/share/man/man1/dpkg-buildflags.1.gz
/usr/share/man/man1/dpkg-buildpackage.1.gz
/usr/share/man/man1/dpkg-checkbuilddeps.1.gz
/usr/share/man/man1/dpkg-distaddfile.1.gz
/usr/share/man/man1/dpkg-genbuildinfo.1.gz
/usr/share/man/man1/dpkg-genchanges.1.gz
/usr/share/man/man1/dpkg-gencontrol.1.gz
/usr/share/man/man1/dpkg-gensymbols.1.gz
/usr/share/man/man1/dpkg-mergechangelogs.1.gz
/usr/share/man/man1/dpkg-name.1.gz
/usr/share/man/man1/dpkg-parsechangelog.1.gz
/usr/share/man/man1/dpkg-scanpackages.1.gz
/usr/share/man/man1/dpkg-scansources.1.gz
/usr/share/man/man1/dpkg-shlibdeps.1.gz
/usr/share/man/man1/dpkg-source.1.gz
/usr/share/man/man1/dpkg-vendor.1.gz
/usr/share/man/man5/deb-buildinfo.5.gz
/usr/share/man/man5/deb-changelog.5.gz
/usr/share/man/man5/deb-changes.5.gz
/usr/share/man/man5/deb-conffiles.5.gz
/usr/share/man/man5/deb-control.5.gz
/usr/share/man/man5/deb-extra-override.5.gz
/usr/share/man/man5/deb-old.5.gz
/usr/share/man/man5/deb-origin.5.gz
/usr/share/man/man5/deb-override.5.gz
/usr/share/man/man5/deb-postinst.5.gz
/usr/share/man/man5/deb-postrm.5.gz
/usr/share/man/man5/deb-preinst.5.gz
/usr/share/man/man5/deb-prerm.5.gz
/usr/share/man/man5/deb-shlibs.5.gz
/usr/share/man/man5/deb-split.5.gz
/usr/share/man/man5/deb-src-control.5.gz
/usr/share/man/man5/deb-src-files.5.gz
/usr/share/man/man5/deb-substvars.5.gz
/usr/share/man/man5/deb-symbols.5.gz
/usr/share/man/man5/deb-triggers.5.gz
/usr/share/man/man5/deb-version.5.gz
/usr/share/man/man5/deb.5.gz
/usr/share/man/man5/deb822.5.gz
/usr/share/man/man5/dsc.5.gz
/usr/share/man/nl/man1/dpkg-architecture.1.gz
/usr/share/man/nl/man1/dpkg-buildflags.1.gz
/usr/share/man/nl/man1/dpkg-buildpackage.1.gz
/usr/share/man/nl/man1/dpkg-checkbuilddeps.1.gz
/usr/share/man/nl/man1/dpkg-distaddfile.1.gz
/usr/share/man/nl/man1/dpkg-genbuildinfo.1.gz
/usr/share/man/nl/man1/dpkg-genchanges.1.gz
/usr/share/man/nl/man1/dpkg-gencontrol.1.gz
/usr/share/man/nl/man1/dpkg-gensymbols.1.gz
/usr/share/man/nl/man1/dpkg-mergechangelogs.1.gz
/usr/share/man/nl/man1/dpkg-name.1.gz
/usr/share/man/nl/man1/dpkg-parsechangelog.1.gz
/usr/share/man/nl/man1/dpkg-scanpackages.1.gz
/usr/share/man/nl/man1/dpkg-scansources.1.gz
/usr/share/man/nl/man1/dpkg-shlibdeps.1.gz
/usr/share/man/nl/man1/dpkg-source.1.gz
/usr/share/man/nl/man1/dpkg-vendor.1.gz
/usr/share/man/nl/man5/deb-buildinfo.5.gz
/usr/share/man/nl/man5/deb-changelog.5.gz
/usr/share/man/nl/man5/deb-changes.5.gz
/usr/share/man/nl/man5/deb-conffiles.5.gz
/usr/share/man/nl/man5/deb-control.5.gz
/usr/share/man/nl/man5/deb-extra-override.5.gz
/usr/share/man/nl/man5/deb-old.5.gz
/usr/share/man/nl/man5/deb-origin.5.gz
/usr/share/man/nl/man5/deb-override.5.gz
/usr/share/man/nl/man5/deb-postinst.5.gz
/usr/share/man/nl/man5/deb-postrm.5.gz
/usr/share/man/nl/man5/deb-preinst.5.gz
/usr/share/man/nl/man5/deb-prerm.5.gz
/usr/share/man/nl/man5/deb-shlibs.5.gz
/usr/share/man/nl/man5/deb-split.5.gz
/usr/share/man/nl/man5/deb-src-control.5.gz
/usr/share/man/nl/man5/deb-src-files.5.gz
/usr/share/man/nl/man5/deb-substvars.5.gz
/usr/share/man/nl/man5/deb-symbols.5.gz
/usr/share/man/nl/man5/deb-triggers.5.gz
/usr/share/man/nl/man5/deb-version.5.gz
/usr/share/man/nl/man5/deb.5.gz
/usr/share/man/nl/man5/deb822.5.gz
/usr/share/man/nl/man5/dsc.5.gz
/usr/share/man/pl/man5/deb-extra-override.5.gz
/usr/share/man/pl/man5/deb-old.5.gz
/usr/share/man/pl/man5/deb-override.5.gz
/usr/share/man/pl/man5/deb-split.5.gz
/usr/share/man/sv/man1/dpkg-architecture.1.gz
/usr/share/man/sv/man1/dpkg-distaddfile.1.gz
/usr/share/man/sv/man1/dpkg-gencontrol.1.gz
/usr/share/man/sv/man1/dpkg-gensymbols.1.gz
/usr/share/man/sv/man1/dpkg-mergechangelogs.1.gz
/usr/share/man/sv/man1/dpkg-name.1.gz
/usr/share/man/sv/man1/dpkg-scansources.1.gz
/usr/share/man/sv/man1/dpkg-shlibdeps.1.gz
/usr/share/man/sv/man1/dpkg-vendor.1.gz
/usr/share/man/sv/man5/deb-extra-override.5.gz
/usr/share/man/sv/man5/deb-old.5.gz
/usr/share/man/sv/man5/deb-override.5.gz
/usr/share/man/sv/man5/deb-split.5.gz

References

Summary

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