This guide explains how to download a RPM package with all dependencies in RHEL-based systems such as CentOS, Fedora, AlmaLinux and Rocky Linux.
Source: LXer – How To Download A RPM Package With All Dependencies In CentOS, Fedora, RHEL, AlmaLinux, Rocky Linux