在没有 root 权限的情况下在 HPC 集群 (Centos 8) 中安装 RPM 文件

Install RPM files in a HPC cluster (Centos 8) without root permission

如何在没有 root 权限的情况下在 HPC 集群 (Centos 8) 上安装一些 rpm 文件。 我需要将它安装在我自己的目录中并通过我的 ./bashc_profile.

调用它

谢谢

你不能。要安装 RPM 包,您需要 root(或 sudo)访问权限。句号。

您可以使用 rpmdev-extract 提取内容,如果是某种脚本,您可以将其放在某个地方。