How to install Chrome browser on CentOS 7

How to install Chrome browser on CentOS 7

This article introduces how to install Chrome browser on CentOS 7 and shares it with you. The details are as follows:

Configure yum download source:

Create a new file google-chrome.repo in the directory /etc/yum.repos.d/

[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# vim google-chrome.repo

Edit google-chrome.repo, the content is as follows, save and exit after editing (:wq)

[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

Install Google Chrome browser:

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

PS: Google's official repository may not be available in China, resulting in installation failure or failure to update in China. You can add the following parameters to install:

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

In this way, Google Chrome can be installed successfully.

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • How to install Chrome in Ubuntu
  • Ubuntu, Linux Mint one-click installation of Chrome browser Shell script sharing

<<:  MySQL turns off password strength verification

>>:  Sample code on how to implement page caching in vue mobile project

Recommend

Analyze how a SQL query statement is executed in MySQL

Table of contents 1. Overview of MySQL Logical Ar...

Use Docker to build a Redis master-slave replication cluster

In a cluster with master-slave replication mode, ...

Implementing calculator functions with WeChat applet

This article is a simple calculator written using...

React realizes secondary linkage effect (staircase effect)

This article shares the specific code of React to...

Introduction to encryption of grub boot program in Linux

Table of contents 1. What is grub encryption 2. g...

After docker run, the status is always Exited

add -it docker run -it -name test -d nginx:latest...

Login interface implemented by html+css3

Achieve results First use HTML to build a basic f...

CSS3 mouse hover transition zoom effect

The following is a picture mouse hover zoom effec...

MySQL 5.6 zip package installation tutorial detailed

Previously, we all used files with the suffix .ms...

CSS3 flexible box flex to achieve three-column layout

As the title says: The height is known, the width...

How to reset the initial value of the auto-increment column in the MySQL table

How to reset the initial value of the auto-increm...

Detailed explanation of the failure of MySQL to use UNION to connect two queries

Overview UNION The connection data set keyword ca...