现在的位置: 首页 > 综合 > 正文

Ubuntu/Linux Mint下命令行一键安装Chrome浏览器的脚本

2014年08月26日 ⁄ 综合 ⁄ 共 478字 ⁄ 字号 评论关闭

把下面的脚本保存为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

参考:

http://www.howopensource.com/2011/10/install-google-chrome-in-ubuntu-11-10-11-04-10-10-10-04/

抱歉!评论已关闭.