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.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、安装依赖包
[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即可
5、打开Chrome
进入可视化界面,可通过Applications -> Internet -> Google Chrome 打开Chrome浏览器,现在可以使用了。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)