I have to install a package (let's call it foobar) on a RHEL 6 server which has some pretty tight constraints:
- the server cannot access the Internet due to security reasons
- it lacks quite a lot of packages, e.g. the C compiler is missing
- the foobar to be installed is not the latest version but a previous one
The biggest problem is solving the dependencies. Because of point #3 I cannot simply run
yumdownloader --resolve foobar-3.1.3-1 on an Internet-connected machine to grab the RPMs, transfer them to the server and then do a localinstall: AFAIK
yum only works with the latest package versions.
Also, grabbing the code source of the foobar package and compiling it is not an option because of point #2.