歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> CentOS7 安裝Chrome浏覽器

CentOS7 安裝Chrome浏覽器

日期:2017/2/28 13:52:13   编辑:Linux教程

本篇文章主要記錄如何在CentOS7.0上安裝Chrome浏覽器。

1.配置yum下載源:

在目錄 /etc/yum.repos.d/ 下新建文件 google-chrome.repo, 並且在該文件中添加如下內容:

1 [google-chrome]
2 name=google-chrome
3 baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
4 enabled=1
5 gpgcheck=1
6 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
7 ~                                                                

2. 安裝google chrome浏覽器:

[root@localhost yum.repos.d]# yum -y install google-chrome-stable

PS: Google官方源可能在中國無法使用,導致安裝失敗或者在國內無法更新,可以添加以下參數來安裝:

[root@localhost yum.repos.d]# yum -y install google-chrome-stable --nogpgcheck

這樣,google chrome就可在安裝成功。

Ubuntu 16.04下安裝64位谷歌Chrome浏覽器 http://www.linuxidc.com/Linux/2016-05/131096.htm

Ubuntu 16.04中為Chromium、Chrome、Firefox安裝Flash播放器插件 http://www.linuxidc.com/Linux/2016-05/131098.htm

Ubuntu 16.04環境Chrome中文字體更換 http://www.linuxidc.com/Linux/2016-05/131093.htm

更多CentOS相關信息見CentOS 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=14

Copyright © Linux教程網 All Rights Reserved