LinuxBuzz published a tutorial about downloading RPM packages without installing them.
How to Download RPM Packages Without Installing on RHEL 8
DNF is a package management command line utility on RHEL distributions like Red Hat Enterprise Linux, CentOS Stream and Fedora. Usually, DNF or Yum command is used to install, update and remove rpm packages from command line.
How to Download RPM Packages Without Installing on RHEL 8