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脚本分享
本文地址:https://zz.feitang.co/server/34860.html
您可能感兴趣的文章
- 12-31Shell脚本中获取进程ID的方法
- 12-31Shell脚本美化登录界面装饰图(含农历)
- 12-31Shell 编程:Bash空格的那点事
- 12-31Shell中获取脚本所在目录绝对路径的方法
- 12-31Shell脚本实现乱序排列文件内容的多种方法(洗牌问题)
- 12-31shell 编程中空格的使用方法
- 12-31Shell脚本实现ftok函数
- 12-31getcwd cannot access parent directories错误解决方法
- 12-31Shell脚本实现递归删除空文件夹
- 12-31Shell脚本实现获取网页快照并生成缩略图







