在带有arm64的ubuntu/debian上安装Chrome

aus*_*ser 23 google-chrome software-installation arm64

我正在尝试使用以下命令安装 chrome:

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
sh -c 'echo "deb [arch=$(dpkg --print-architecture)] https://dl-ssl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
apt update && apt install -y google-chrome-stable --no-install-recommends
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

Get:4 https://dl-ssl.google.com/linux/chrome/deb stable InRelease [1811 B]
Fetched 1811 B in 0s (4467 B/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package google-chrome-stable
Run Code Online (Sandbox Code Playgroud)

有人知道为什么这对我不起作用吗?难道是 Google chrome 软件包不适用于我的系统:

root@xxx:/# dpkg --print-architecture
arm64
root@xxx:/# uname -a
Linux xxxx 5.11.0-1021-oracle #22~20.04.1-Ubuntu SMP Fri Oct 22 21:42:24 UTC 2021 aarch64 GNU/Linux

root@65653cdc2f7b:/# cat /etc/debian_version
11.2
Run Code Online (Sandbox Code Playgroud)

Arc*_*ahi 36

这是预料之中的。Google Chrome 仅适用于 amd64,不适用于 ARM。您可以使用 Chromium 来代替。它是免费开源浏览器,Chrome 就是基于它的。

您可以删除 Chrome 存储库,然后使用以下命令安装 chromium

sudo apt install chromium-browser
Run Code Online (Sandbox Code Playgroud)

这将安装 snap chromium 包。如果你想要一个纯粹的 apt 版本,请参阅这个答案。


Google 从 Chromium 中删除了同步功能。如果您需要同步,请改用 Firefox。

sudo apt install firefox
Run Code Online (Sandbox Code Playgroud)

或者,如果您确实需要的话,可以要求 Google 发布适用于 ARM 的 Chrome 或修复 Chromium 中的同步问题。

  • 哥们,没有 chrome 的 arm 版本真是太烦人了 (7认同)
  • @JamieHutber 事情可能很快就会随着新的 Mac 和 Microsoft Dev Kit 2023 等强大的 ARM 计算机而改变。在那之前,请继续烦扰谷歌对 Linux 的 Chrome ARM 版本的支持请求:) (2认同)