打开Ubuntu终端,以下为32位版本,使用下面的命令。
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
以下为64位版本,使用下面的命令。
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
下载好后
32 位安装命令:
sudo dpkg -i google-chrome-stable_current_i386.deb
64 位安装命令:
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get install -f.
如果使用上述指令还有问题(如我所遇到到下面问题),请按照我的方式进行:
hadoop@master:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
....省略
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libindicator7 i386 12.10.2+14.04.20141007.1-0ubuntu1 [20.9 kB]
Fetched 250 B in 27s (8 B/s)
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libi/libindicator/libindicator7_12.10.2+14.04.20141007.1-0ubuntu1_i386.deb Size mismatch
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/liba/libappindicator/libappindicator1_12.10.1+13.10.20130920-0ubuntu4.1_i386.deb
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
说明缺少libindicator7_12.10.2+14.04.20141007.1-0ubuntu1_i386.deb和libappindicator1_12.10.1+13.10.20130920-0ubuntu4.1_i386.deb 包,将这两个包下载下来,直接手动安装即可,指令:
sudo dpkg -i libindicator7_12.10.2+14.04.20141007.1-0ubuntu1_i386.deb
sudo dpkg -i libappindicator1_12.10.1+13.10.20130920-0ubuntu4.1_i386.deb
然后执行:sudo apt-get -f install 就可以了,chrome就可以使用.