Chrome没有安装在linux中

问题描述 投票:-2回答:5

我想在我的linux盒子里安装谷歌浏览器浏览器。为此,我按照说明here

/etc/yum.repos.d/google.repo我添加了回购信息:

[google]
name=Google - i386
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

并尝试通过以下方式安装:

yum install google-chrome-stable

运行一些行后,它显示如下错误:

Error: Package: google-chrome-stable-42.0.2311.135-1.i386 (google)
           Requires: libstdc++.so.6(GLIBCXX_3.4.15)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

谁知道如何解决它?

uname -a = Linux user1 2.6.32-504.el6.i686#1 SMP Wed Oct 15 03:02:07 UTC 2014 i686 i686 i386 GNU / Linux

linux google-chrome yum
5个回答
-1
投票

你可能试图在一些旧的发行版上安装它,2.6是很老的内核。因此,尝试安装glibc 3.x的东西将是一个巨大的混乱。

因此,无论是升级您的发行版,您尝试安装的chrome都是为el7版本的linux构建的,因此您可能必须从centos 6.5(或其他)升级到7才能安装此chrome

或者有一个铬浏览器(谷歌浏览器克隆)我很肯定你可以在一些el6存储库中找到它


-1
投票

我建议您从官方网站Download Chrome下载最新版本的Chrome作为您平台的.rpm。然后安装# rpm ivh google_hrome_stable..。因此,您将获得该程序的最新稳定版本,以及在控制台中出现安装错误时,您将获得有关原因的更多信息。在安装之前,请务必删除您要安装的版本。


-1
投票

您可以通过安装chrome-deps-stable来避免此程序包依赖性错误。我有同样的问题,但安装此包chrome-deps-stable后,我能够安装谷歌铬稳定。


-1
投票

按照以下命令,a)从Chrome官方网站下载.rpm文件。 click here for download chrome点击下载chrome - >选择.rpm文件b)双击.rpm文件并安装。


-1
投票

更好地使用铬,它就像铬一样。

安装

apt-get install chromium

chromium

如果在运行时出现错误,请尝试此操作。

chromium --no-sandbox
© www.soinside.com 2019 - 2024. All rights reserved.