【问题标题】:chrome installation on centos linux using shell script使用shell脚本在centos linux上安装chrome
【发布时间】:2017-10-18 15:25:43
【问题描述】:

我正在通过编写一个 shell 脚本在我的 centos 虚拟机上安装谷歌 Chrome 网络浏览器。我已经下载了以下内容:

google-chrome-stable_current_x86_64.rpm

当我尝试安装此软件包时,我收到以下错误:

警告:google-chrome-stable_current_x86_64.rpm:标头 V4 DSA/SHA1 签名,密钥 ID 7fac5991:NOKEY 错误:失败的依赖项: lsb >= 4.0 需要 google-chrome-stable-58.0.3029.110-1.x86_64 google-chrome-stable-58.0.3029.110-1.x86_64 需要 libnss3.so(NSS_3.19.1)(64bit) google-chrome-stable-58.0.3029.110-1.x86_64 需要 libstdc++.so.6(GLIBCXX_3.4.18)(64bit) google-chrome-stable-58.0.3029.110-1.x86_64 需要 libstdc++.so.6(GLIBCXX_3.4.14)(64bit) google-chrome-stable-58.0.3029.110-1.x86_64 需要 libstdc++.so.6(GLIBCXX_3.4.15)(64bit)

我意识到在安装 Chrome 之前我应该​​下载许多不同的包。 有没有什么方法可以将这些包全部安装在一起而不必一一安装?

【问题讨论】:

    标签: linux shell google-chrome


    【解决方案1】:

    使用 yum 命令在 Centos 系统上安装 Chrome 浏览器。

    yum localinstall google-chrome-stable_current_x86_64.rpm
    

    【讨论】:

      【解决方案2】:

      您可以查看this 添加 Chrome 的源代码

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2017-03-28
        • 2023-03-27
        • 2013-10-24
        • 2014-02-18
        • 2023-03-14
        • 2014-01-16
        • 1970-01-01
        • 2011-07-06
        相关资源
        最近更新 更多