How do I install commands such as yum and git on Qubes OS?

I “sudo dnf install gnupg install gnu git createrepo rpm-build make wget rpmdevtools python2-sh dialog rpm-sign” of “Building Qubes from scratch” of https://www.qubes-os.org/doc/qubes-builder/ in QubesOS I want to do dpkg-dev debootstrap PyYAML devscripts perl-Digest-MD5 perl-Digest-SHA, but I couldn’t. How do I install these packages and commands?

yum is deprecated, use dnf.

How do install and use?