Download rpm with dependencies
I need to download some rpm with their dependencies, to install them on a client machine with Red Hat 8.4 that can't have internet due to security issues.
Right now I am downloading the packages on a computer that is licensed with internet with the following command:
yumdownloader --resolve *
I then copy all the downloaded packages and move them to a folder on the other machine and run them as follows:
rpm -ivh --nosignature *.rpm
But it asks me for some dependencies that are in the folder itself.
If someone knows another way to do it or to install it I would appreciate it.
Best regards