1. I downloaded the .deb
file from the official web page.
(
或者:打开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
)
2. And later I entered the command you've already written:
sudo dpkg -i google-chrome-stable_current_amd64.deb
(I have 64-bit architecture thats why I downloaded the amd64)
3. Then I downloaded the missing file
sudo apt-get install libappindicator1
Then I got an error about, libappindicator7... and APT suggested I run the command:
apt-get -f install
Without arguments.
Next it asks if you want to install both libappindicator1
and libappindicator7
. You type y
.
4. And finally you execute the first command again...
sudo dpkg -i google-chrome-stable_current_amd64.deb
Then it works!
Note: I didn't tell you to run those commands with libappindicator first.. because maybe you would get another error about "missing files" so the first dpkg -i google-chrome-stable_current_amd64.deb
would tell you what you needed.