Ubuntu、Linux Mint一键安装Chrome浏览器的Shell脚本分享
把下面的脚本保存为xxx.sh,然后sudoshxxx.sh
wget-q-O-https://dl-ssl.google.com/linux/linux_signing_key.pub|sudoapt-keyadd- sudosh-c'echo"debhttp://dl.google.com/linux/chrome/deb/stablemain">>/etc/apt/sources.list.d/google-chrome.list' sudoapt-getupdate #下面是稳定版 #sudoapt-get-yinstallgoogle-chrome-stable #下面是beta版 sudoapt-get-yinstallgoogle-chrome-beta #下面是不稳定版 #sudoapt-get-yinstallgoogle-chrome-unstable