对于 Ubuntu Desktop 22.04,已根据发布通道安装 - Debian、Ubuntu、Mint中指示的官方说明安装了 Brave Web 浏览器。因此如下:
sudo apt install curl
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update
sudo apt install brave-browser
该过程成功,但在该过程中以及每次执行该apt update
命令时都会出现:
sudo apt update
...
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease
...
Fetched 3,590 B in 3s (1,411 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' doesn't support architecture 'i386'
观察最新的一行(出于演示目的分成多行):
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository
'https://brave-browser-apt-release.s3.brave.com stable InRelease' doesn't support
architecture 'i386'
我知道这是一个注释,N:
但很好奇:如何删除不支持架构“i386”消息?
该目录中
/etc/apt/sources.list.d
存在brave-browser-release.list
当前内容为的文件:并升级为:
观察添加
arch=amd64
并解决。这要归功于以下教程:参见 参考资料
Installing Brave on Ubuntu and Debian-based distributions
部分