Install the latest version of chrome Google browser on ubuntu

1. Run the following command line

#!/bin/bash
 
# 如果当前目录下已经存在安装包,删除
[[ -f google-chrome-stable_current_amd64.deb ]] && sudo rm -r google-chrome-stable_current_amd64.deb 
 
# 下载最新安装包
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
 
# 重新安装
sudo dpkg -i ./google-chrome-stable_current_amd64.deb
 
# 删除安装包
sudo rm -r google-chrome-stable_current_amd64.deb

Guess you like

Origin blog.csdn.net/qq_38429958/article/details/131784288