How To Install dh-make on CentOS 8
Introduction
In this tutorial we learn how to install dh-make
on CentOS 8.
What is dh-make
This package allows you to take a standard (or upstream) source package and convert it into a format that will allow you to build Debian packages.
We can use yum
or dnf
to install dh-make
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install dh-make.
Install dh-make 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 dh-make
using dnf
by running the following command:
sudo dnf -y install dh-make
Install dh-make 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 dh-make
using yum
by running the following command:
sudo yum -y install dh-make
How To Uninstall dh-make on CentOS 8
To uninstall only the dh-make
package we can use the following command:
sudo dnf remove dh-make
dh-make Package Contents on CentOS 8
/usr/bin/dh_make
/usr/bin/dh_makefont
/usr/share/debhelper
/usr/share/debhelper/dh_make
/usr/share/debhelper/dh_make/debian
/usr/share/debhelper/dh_make/debian/README.Debian
/usr/share/debhelper/dh_make/debian/README.source
/usr/share/debhelper/dh_make/debian/changelog
/usr/share/debhelper/dh_make/debian/manpage.1.ex
/usr/share/debhelper/dh_make/debian/manpage.sgml.ex
/usr/share/debhelper/dh_make/debian/manpage.xml.ex
/usr/share/debhelper/dh_make/debian/package.cron.d.ex
/usr/share/debhelper/dh_make/debian/package.doc-base.EX
/usr/share/debhelper/dh_make/debian/postinst.ex
/usr/share/debhelper/dh_make/debian/postrm.ex
/usr/share/debhelper/dh_make/debian/preinst.ex
/usr/share/debhelper/dh_make/debian/prerm.ex
/usr/share/debhelper/dh_make/debian/rules
/usr/share/debhelper/dh_make/debian/salsa-ci.yml.ex
/usr/share/debhelper/dh_make/debian/watch.ex
/usr/share/debhelper/dh_make/debiani
/usr/share/debhelper/dh_make/debiani/control
/usr/share/debhelper/dh_make/debianl
/usr/share/debhelper/dh_make/debianl/control
/usr/share/debhelper/dh_make/debianl/package-dev.dirs
/usr/share/debhelper/dh_make/debianl/package-dev.install
/usr/share/debhelper/dh_make/debianl/package1.dirs
/usr/share/debhelper/dh_make/debianl/package1.install
/usr/share/debhelper/dh_make/debianl/shlibs.local.ex
/usr/share/debhelper/dh_make/debianm
/usr/share/debhelper/dh_make/debianm/control
/usr/share/debhelper/dh_make/debianm/package-doc.docs
/usr/share/debhelper/dh_make/debianm/package-doc.install
/usr/share/debhelper/dh_make/debianp
/usr/share/debhelper/dh_make/debianp/control
/usr/share/debhelper/dh_make/debianp/source
/usr/share/debhelper/dh_make/debianp/source/options
/usr/share/debhelper/dh_make/debians
/usr/share/debhelper/dh_make/debians/control
/usr/share/debhelper/dh_make/emacs
/usr/share/debhelper/dh_make/emacs/control
/usr/share/debhelper/dh_make/emacs/emacsen-compat
/usr/share/debhelper/dh_make/emacs/emacsen-install.ex
/usr/share/debhelper/dh_make/emacs/emacsen-remove.ex
/usr/share/debhelper/dh_make/emacs/emacsen-startup.ex
/usr/share/debhelper/dh_make/licenses
/usr/share/debhelper/dh_make/licenses/apache
/usr/share/debhelper/dh_make/licenses/artistic
/usr/share/debhelper/dh_make/licenses/blank
/usr/share/debhelper/dh_make/licenses/bsd
/usr/share/debhelper/dh_make/licenses/gpl2
/usr/share/debhelper/dh_make/licenses/gpl3
/usr/share/debhelper/dh_make/licenses/isc
/usr/share/debhelper/dh_make/licenses/lgpl2
/usr/share/debhelper/dh_make/licenses/lgpl3
/usr/share/debhelper/dh_make/licenses/mit
/usr/share/debhelper/dh_make/native
/usr/share/debhelper/dh_make/native/README
/usr/share/debhelper/dh_make/native/changelog
/usr/share/doc/dh-make
/usr/share/doc/dh-make/README.Debian
/usr/share/man/man1/dh_make.1.gz
References
Summary
In this tutorial we learn how to install dh-make
on CentOS 8 using yum and dnf.