如何安装rpm文件及其所有依赖关系?
我试图在基于RHEL的机器上安装HPCC
。
我有一个.rpm
文件,为了安装这个rpm,我使用以下命令。
sudo rpm -Uvh hpccsystems-platform_community-4.0.0-9.el6.x86_64.rpm
我收到以下错误:
error: Failed dependencies:
boost-regex is needed by hpccsystems-platform-community-4.0.09.x86_64
expect is needed by hpccsystems-platform-community-4.0.09.x86_64
gcc-c++ is needed by hpccsystems-platform-community-4.0.09.x86_64
libapr-1.so.0()(64bit) is needed by hpccsystems-platform-community-4.0.09.x86_64
libaprutil-1.so.0()(64bit) is needed by hpccsystems-platform-community-4.0.09.x86_64
libarchive is needed by hpccsystems-platform-community-4.0.09.x86_64
liblber-2.4.so.2()(64bit) is needed by hpccsystems-platform-community-4.0.09.x86_64
libldap_r-2.4.so.2()(64bit) is needed by hpccsystems-platform-community-4.0.09.x86_64
libssl.so.10()(64bit) is needed by hpccsystems-platform-community-4.0.09.x86_64
4.0.09.x86_64
请注意,这是我第一次使用RHEL。我曾使用过Ubuntu,在Ubuntu中,使用apt-get install
命令安装软件更容易,该命令会获取软件及其依赖关系。
如何安装这个rpm
并自动安装它的所有依赖关系?