安装chrome

一直以为自己安装的是chrome. 今天才发现是chromium, chrome的开源版本.因为需要v57 的chrome,所以自己安装了一遍chrome.

教程 https://superuser.com/questions/130260/how-to-update-google-chrome-in-ubuntu

 

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
To install:

sudo apt-get install google-chrome-stable
To update only:

sudo apt-get –only-upgrade install google-chrome-stable
Then update (if available) the Network Security Service libraries (libnss), or Chrome will behave weird

sudo apt-get install libnss3-1d
This will install the current stable version of it. Now you have to kill all instances (may be hidden) of old Google Chrome.

sudo pkill -15 google-chrome
sudo pkill -15 chrome

如果要按装beta版,怎把stalbe换成beta就可以了.

然后在命令行下启动google-chrome测试一下.最后然后在桌面上或启动栏内建立快捷方式就搞定.