1、sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
2、sudo apt-get update
3、
安装稳定版Chrome,在终端输入:sudo apt-get install google-chrome-stable
安装Beta版Chrome,在终端输入:sudo apt-get install google-chrome-beta
安装不稳定版Chrome,在终端输入:sudo apt-get install google-chrome-unstable
之前是下载的安装包安装的,只要用Ubuntu的更新就报错,解决方案:
执行:sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'