---
title: "Fedora 安装chrome浏览器-转载"
author: "cooperay"
date: "2016-06-29T10:31:01Z"
tags: []
categories: ["操作系统"]
slug: "fedora-chrome"
draft: false
lastmod: "2016-06-29T10:31:01Z"
id: 2307944
url: "https://cooperay.iteye.com/blog/2307944"
---

下面本文章从安装chrome浏览器的实现方法到安装过程中碰到问题的解决方法，希望此例子对各位在Fedora安装chrome会有帮助哦。

在google网站下载chrome速度很慢，但是添加了chrome的源之后，就可以在终端通过yum install 来安装chrome了，会快很多。

首先在 /etc/yum.repos.d 里建立一个名为 google.repo 文件，然后复制以下代码到其中，然后保存：  
32位系统：  
 

 代码如下 复制代码 \[google]  
name=[Google](http://www.111cn.net/list-64/) – i386  
baseurl=http://dl.google.com/[linux](http://www.111cn.net/list-156/)/rpm/stable/i386  
enabled=1  
gpgcheck=1  
gpgkey=htt[ps](http://www.111cn.net/fw/photo.html)://dl-ssl.google.com/linux/linux\_signing\_key.pub

64位系统：  
 

 代码如下 复制代码 \[google64]  
name=Google – x86\_64  
baseurl=http://dl.google.com/linux/rpm/stable/x86\_64  
enabled=1  
gpgcheck=1  
gpgkey=https://dl-ssl.google.com/linux/linux\_signing\_key.pub

然后使用(需管理员权限)：  
 

 代码如下 复制代码 yum install google-chrome-stable --nogpg   来安装最新稳定版  
yum install google-chrome-unstable --nogpg 最新版chrome

这样就可以安装了！

文章后面补充在安装过程碰到的问题解决方法

**可能会出现的问题（可能性很大）：**

出现如下错误：

warning: google-chrome-stable\_current\_i386.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY  
error: Failed dependencies:  
    lsb &gt;= 4.0 is needed by google-chrome-stable-18.0.1025.162-131933.i386  
    libXss.so.1 is needed by google-chrome-stable-18.0.1025.162-131933.i386  
    wget is needed by google-chrome-stable-18.0.1025.162-131933.i386

解决方法（测试可行）：

 代码如下 复制代码

yum install RedHat-lsb  
yum install wget  
yum install libXScrnSaver

再用命令：rpm -ivh google-chrome-stable\_current\_i386.rpm