我试图使用以下命令安装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
我得到以下错误:
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
有人知道为什么这不适合我吗?可能是我的系统无法使用谷歌铬包:
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
发布于 2021-12-26 01:36:43
这是意料之中的。Google只为amd64打包,也不适合ARM。你可以用铬代替。这是免费的开源浏览器,Chrome的基础。
您可以删除Chrome存储库,并使用
sudo apt install chromium-browser
这将安装止动铬包。如果您想要一个纯apt版本,请参阅这答案。
谷歌从铬中删除了同步功能。如果您需要同步,请使用Firefox。
sudo apt install firefox
或者,如果你真的需要的话,请谷歌为ARM发布Chrome或者修复Chromium中的同步。
https://askubuntu.com/questions/1383789
复制相似问题