centos7安裝chrome瀏覽器

      在安裝chrome瀏覽器的時候找了一些資料,下面的連接就是比較詳細的安裝方式,這裏注意的問題就是按照文章所說的配置,可能在中國網絡連接不過去,所以需要在後面添加上--nogpgcheck 取消用gpg檢查gpgkry.

      下面是簡潔的安裝方式以及相關的資料:

 

1.配置yum下載源:

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

CentOS7 安裝Chrome瀏覽器 

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



文章的連接:   https://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/

Google Chrome is a freeware web browser developed by Google Inc. Google Chrome team proudly announced the release of Google Chrome 63 on December 6, 2017.

The actual version is 63.0.3239.84 for Linux and Mac OS X/Windows operating system. This new version bundled with a number of exciting fixes, features and improvements.

If you would like to know more other cool features of this release, please visit at Google’s Chrome Features.

In this tutorial we will show you how to install Google Chrome 63 browser in RHEL/CentOS 7.x and Fedora distributions using Google’s own repository with Yum tool.

Important: Google Chrome support for all 32-bit Linux distributions is deprecated from March, 2016.

By using Google’s official repository you will keep your Chrome browser up-to-date.

# yum update google-chrome-stable

However, same instructions should also work on RHEL 7.x, CentOS 7.x and Fedora 26-20 versions as well.

Step 1: Enable Google YUM repository

Create a file called /etc/yum.repos.d/google-chrome.repo and add the following lines of code to it.

[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

Step 2: Installing Chrome Web Browser

First, check whether the latest version available from the Google’s own repository using following yum command.

# yum info google-chrome-stable
Sample Output
Check Google Chrome Package Info
Loading mirror speeds from cached hostfile
* base: centos.myfahim.com
* epel: ir.mirror.rasanegar.com
* extras: centos.myfahim.com
* remi-safe: ftp.arnes.si
* rpmforge: mirrors.neusoft.edu.cn
* updates: centos.myfahim.com
adobe-linux-x86_64                                                                                                                                                      3/3
google-chrome                                                                                                                                                           3/3
Available Packages
Name        : google-chrome-stable
Arch        : x86_64
Version     : 63.0.3239.84
Release     : 1
Size        : 47 M
Repo        : google-chrome
Summary     : Google Chrome
URL         : https://chrome.google.com/
License     : Multiple, see https://chrome.google.com/
Description : The web browser from Google
: 
: Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.

Do you see the highlighted output in the above, that clearly telling that the latest version of chrome is available from repository. So, let’s install it using yum command as shown below, which will automatically install all needed dependencies.

# yum install google-chrome-stable
Sample Output
Install Google Chrome in Linux
Loaded plugins: fastestmirror, langpacks, product-id, search-disabled-repos, subscription-manager, versionlock
This system is not registered with Subscription Management. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
* base: mirror.dhakacom.com
* epel: ftp.jaist.ac.jp
* extras: mirror.ehost.vn
* rpmforge: mirror.veriteknik.net.tr
* updates: mirror.ehost.vn
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:59.0.3071.86-1 will be updated
---> Package google-chrome-stable.x86_64 0:63.0.3239.84-1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================================
Package                                         Arch                              Version                                   Repository                                Size
============================================================================================================================================================================
Updating:
google-chrome-stable                            x86_64                            63.0.3239.84-1                            google-chrome                             47 M
Transaction Summary
============================================================================================================================================================================
Upgrade  1 Package
Total download size: 47 M
Is this ok [y/d/N]: y

Update : Sadly, the Google Chrome browser no longer supports the most famous commercial distribution RHEL 6.x and its free clones such as CentOS and Scientific Linux.

Yes, they’ve discontinued support for RHEL 6.X version as of Google Chrome and on other side, latest Firefox and Opera browsers run successfully on the same platforms.

The next step for RHEL/CentOS 6 users to move to RHEL/CentOS 7, the latest Google Chrome works out-of-the-box on RHEL/CentOS 7.

Step 3: Starting Chrome Web Browser

Start browser with non-root user.

# google-chrome &

Welcome screen of Chrome web browser.

Welcome Google Chrome

Welcome Google Chrome

Exploring www.tecmint.com with cool Chrome web browser.

Google Chrome Preview on CentOS 7

Google Chrome Preview on CentOS 7

Download Two Free Google Chrome eBooks

Google Chrome Cheat Sheet: This free ebook contains dozens of other helpful keyboard shortcuts that will help you on how to use Google Chrome efficiently.

Google Chrome Cheat Sheet
10 Essential Chrome Tips: This free ebook provides certain useful but overlooked Chrome tips that have the potential to significantly enhance a Chrome user’s everyday experience.
10 Essential Chrome Tips
That’s it, enjoy browsing with Chrome and do let me know your browsing experience with Chrome via comments.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章