centos7 install google-chrome

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos7 install google-chrome相关的知识,希望对你有一定的参考价值。

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/6.x, CentOS 7.x/6.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     : 60.0.3112.90
Release     : 1
Size        : 54 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
Loading mirror speeds from cached hostfile
* base: mirror.fibergrid.in
* epel: ftp.riken.jp
* extras: mirrors.viethosting.vn
* remi-safe: ftp.arnes.si
* rpmforge: mirror.team-cymru.org
* updates: mirror.fibergrid.in
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:60.0.3112.90 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================================
Package                    Arch                     Version                 Repository                     Size
======================================================================================================================================================================
Installing:
google-chrome-stable      x86_64                  60.0.3112.90          google-chrome                    54 M
Transaction Summary
======================================================================================================================================================================
Install  1 Package
Total download size: 54 M
Installed size: 205 M
Is this ok [y/d/N]: y

 

以上是关于centos7 install google-chrome的主要内容,如果未能解决你的问题,请参考以下文章

centos7 install mariadb

centos7 install 安装mysql

How to install OpenBazaar Server in CentOS7

Vm install centos7

Centos7 install python-rrdtoll-1.47 erro

centos7 install lnmp