如何在 Ubuntu 中安装 Chrome

如何在 Ubuntu 中安装 Chrome

我正在使用 ubuntu 15.10 64位。

Click Download Chrome.
Choose either 32 bit .deb (for 32bit Ubuntu) or 64 bit .deb (for 64bit Ubuntu)
Click Accept and Install.
Download .deb file to a folder (Downloads is the default folder)
Open up your Downloads folder.
Double-click the .deb file you just downloaded.
This should launch Ubuntu Software Centre.

我正在使用这些步骤,但出现了如下错误:

无法下载包文件
请检查您的互联网连接。

Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/libi/libindicator/libindicator7_12.10.2+14.10.20140922-0ubuntu1_amd64.deb Size mismatch
Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/liba/libappindicator/libappindicator1_12.10.1+15.04.20141110-0ubuntu1_amd64.deb Size mismatch

但我的互联网已启动并且运行良好。

答案1

来自.deb文件:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt-get install libappindicator1
sudo dpkg -i google-chrome-stable_current_amd64.deb

使用命令sudo apt-get -f install修复缺失的依赖项

使用常规 repo:

sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update
sudo apt-get install google-chrome-stable

相关内容