linux使用yum安装软件时出现依赖解决方法

我在安装google-chrome-stable_current_x86_64.rpm时发生如下错误:

error: Failed dependencies:
    /usr/bin/lsb_release is needed by google-chrome-stable-68.0.3440.106-1.x86_64
    libappindicator3.so.1()(64bit) is needed by google-chrome-stable-68.0.3440.106-1.x86_64
    libnss3.so(NSS_3.22)(64bit) is needed by google-chrome-stable-68.0.3440.106-1.x86_64
    libssl3.so(NSS_3.28)(64bit) is needed by google-chrome-stable-68.0.3440.106-1.x86_64
很明显,需要安装依赖,但是像libnss3.so这种怎么装呢?如下:

#repoquery --nvr --whatprovides libnss3.so
libappindicator-gtk3-12.10.0-13.el7

然后

#yum install -y libappindicator-gtk3-12.10.0-13.el7

你可能感兴趣的:(linux杂文)