Ubuntu、Linux Mint一键安装Chrome浏览器的Shell脚本分享

2019/7/10 21:47:36

本文主要是介绍Ubuntu、Linux Mint一键安装Chrome浏览器的Shell脚本分享,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

把下面的脚本保存为xxx.sh,然后 sudo sh xxx.sh

复制代码 代码如下:

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get update
#下面是稳定版
#sudo apt-get -y install google-chrome-stable
#下面是beta版
sudo apt-get -y install google-chrome-beta
#下面是不稳定版
#sudo apt-get -y install google-chrome-unstable


这篇关于Ubuntu、Linux Mint一键安装Chrome浏览器的Shell脚本分享的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


暂无数据...
扫一扫关注最新编程教程