CentOS7 安装Chrome

目录

1、权限

2、下载

3、安装依赖包

4、安装Chrome

5、打开Chrome


1、权限

若不是root权限,需要在root下执行为用户授权命令,我直接使用root登录

[root@localhost src]# usermod -g root login_name

注:login_name替换成自己的登录名

2、下载

[root@localhost src]# wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
--2022-04-04 20:26:56--  https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
Resolving dl.google.com (dl.google.com)... 114.250.70.33, 2404:6800:4005:812::200e
Connecting to dl.google.com (dl.google.com)|114.250.70.33|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 87642924 (84M) [application/x-rpm]
Saving to: ‘google-chrome-stable_current_x86_64.rpm’

100%[===============================================================================>] 87,642,924   954KB/s   in 90s    

2022-04-04 20:28:26 (955 KB/s) - ‘google-chrome-stable_current_x86_64.rpm’ saved [87642924/87642924]

3、安装依赖包

安装2个依赖包 

[root@localhost src]# yum install -y lsb
......此处是安装过程中显示的信息(略过),等待安装完成,执行下一个安装依赖
[root@localhost src]# yum install -y libXScrnSaver
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.bupt.edu.cn
Package libXScrnSaver-1.2.2-6.1.el7.x86_64 already installed and latest version
Nothing to do
[root@localhost src]# 

4、安装Chrome

[root@localhost src]# yum localinstall google-chrome-stable_current_x86_64.rpm

 出现如下提示选择时,输入y即可CentOS7 安装Chrome_第1张图片

5、打开Chrome

进入可视化界面,可通过Applications -> Internet -> Google Chrome 打开Chrome浏览器,现在可以使用了。

CentOS7 安装Chrome_第2张图片

 

你可能感兴趣的:(Linux,linux)