To download a RPM package using the "yum" package manager on Linux without installing it, you can use the following command:
yumdownloader package-name
Replace "package-name" with the name of the package you want to download.
For example, to download the "openssh-server" package, you can use the following command:
yumdownloader openssh-server
This will download the RPM package for the "openssh-server" package to the current working directory.
Alternatively, you can use the "yumdownloader" command with the "--resolve" option to download the RPM packages for all of the dependencies of a package. For example, to download the RPM packages for all of the dependencies of the "openssh-server" package, you can use the following command:
yumdownloader --resolve openssh-server
This will download the RPM packages for all of the dependencies of the "openssh-server" package, in addition to the RPM package for the "openssh-server" package itself.
Keep in mind that these commands will only work if the RPM packages are available in the configured repositories. If the RPM packages are not available, you may need to manually download them from the package maintainer's website or use a different method to obtain them.