在安装chrome浏览器的时候找了一些资料,下面的连接就是比较详细的安装方式,这里注意的问题就是按照文章所说的配置,可能在中国网络连接不过去,所以需要在后面添加上--nogpgcheck 取消用gpg检查gpgkry.




在目录 /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.


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
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.
©️2020 CSDN 皮肤主题: 大白 设计师: CSDN官方博客 返回首页
钱包余额 0