Context
I'm working on a Centos 7.9 remote machine where I need to install several packages, most of them available via yum. Unfortunately, my user does not have sudo or root privileges so I cannot use yum install
.
As a workaround, I created a custom directory for downloading and installing packages via yuminstaller
, as suggested by this answer, using user-yum.sh.
My problem
I need to install a package from a third party repo (intel-hpckit).
What I have tried
First, since I couldn't edit /etc/yum.repos.d
, I created my own yum.repos.d
directory under user-yum.sh
's root/etc/
directory. Even after that, yumdownloader
couldn't locate the package.
After that, I manually downloaded the intel-hpckit-2021.2.0-2997.x86_64.rpm
file via wget
, as suggested in this answer.
Unfortunately, this approach downloads only the specified package and not all of its required dependencies (intel-oneapi-compiler-fortran
, intel-basekit
, intel-oneapi-common-vars
, ...), so for intel-hpckit
to work I should manually download each of the required packages, and the required packages of those (and so on), recursively.
My question
Is there a way I can automatically download and install the required third party package (intel-hpckit
) along with its dependencies?