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

CentOS7 安裝chrome浏覽器

日期:2017/3/2 17:14:32   编辑:Linux基礎知識

本篇文章主要記錄如何在CentOS7.0上安裝chrome.

1.配置yum下載源:

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

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

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就可在安裝成功.

歡迎大家指正,如果有任何疑問,請評論

Copyright © Linux教程網 All Rights Reserved