Required tools¶
This packaging infrastructure relies on few basic tools.
Note
Debian has all the necessary tooling build rpm and create the rpm repo. However CentOS doesn’t have the debian tooling.
Warning
What is detailed here is only the common tools used to build packages and repo. For each package, you need to install its own build dependencies (stuff like gcc, python-setuptools, etc) if building outside a chroot.
Debian/Ubuntu tools¶
To install the Debian requirements:
# Debian/Ubuntu (deb)
$ apt-get install make debhelper reprepro cowbuilder
RHEL/CentOS/Fedora tools¶
To install the RHEL requirements:
# CentOS/RHEL (rpm)
$ yum install rpm-sign expect rpm-build createrepo make mock
# Fedora (rpm)
$ dnf install rpm-sign expect rpm-build createrepo make mock