(24年4月2日更新)Linux安装chrome及chromedriver(Ubuntu20.04&16.04)

本文详细指导如何在Ubuntu系统上安装Chrome浏览器及其驱动程序Chromedriver,包括下载、处理安装过程中的依赖问题和验证版本的方法,以及推荐参考的外部资源。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、安装Chrome

1)先执行命令下载chrome:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

2)安装chrome

sudo dpkg -i google-chrome-stable_current_amd64.deb

踩坑:这里会提示如下报错:
(Reading database … 29779 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb …
Unpacking google-chrome-stable (123.0.6312.86-1) over (104.0.5112.101-1) …
dpkg: dependency problems prevent configuration of google-chrome-stable:
google-chrome-stable depends on fonts-liberation; however:
Package fonts-liberation is not installed.
google-chrome-stable depends on libatk-bridge2.0-0 (>= 2.5.3

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值