CentOS7 安装Chrome

转载自:https://blog.csdn.net/ling1998/article/details/123951726

1、权限

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

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.rpm100%[===============================================================================>] 87,642,924   954KB/s   in 90s    
 
2022-04-04 20:28:26 (955 KB/s) -google-chrome-stable_current_x86_64.rpmsaved [87642924/87642924]

3、安装依赖包

[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即可
img

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

posted @   誓鼎  阅读(257)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)
点击右上角即可分享
微信分享提示