0

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?

Sam
  • 123
  • 2
  • @GAD3R. Not really. As I said in my answer, I can download yum packages to a folder inside my user's home. What I have not been able to do yet is to install the third party package, because I need sudo to add it's repo. – Sam Apr 03 '21 at 19:16
  • Have you considered asking the server's administrator to install the software for you? If not, do so. If they refuse then you need to take that appropriately further – Chris Davies Apr 11 '21 at 00:07
  • @roaima I have, but since he is too busy, he cannot process requests as fasts as usually I need them. My ideal case would be to depend less on him every time I need a new package. – Sam Apr 13 '21 at 19:44

0 Answers0