尝试按指示安装,我的终端输出包含以下内容:
user@user-computer:~$ snap install brave --beta
The program 'snap' is currently not installed. You can install it by typing:
sudo apt install snapd
user@user-computer:~$ sudo apt install snapd
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
ibus-mozc libllvm3.8 libmircommon5 linux-headers-4.4.0-21
linux-headers-4.4.0-21-generic linux-headers-4.4.0-93
linux-headers-4.4.0-93-generic linux-headers-4.4.0-96
linux-headers-4.4.0-96-generic linux-image-4.4.0-21-generic
linux-image-4.4.0-93-generic linux-image-4.4.0-96-generic
linux-image-extra-4.4.0-21-generic linux-image-extra-4.4.0-93-generic
linux-image-extra-4.4.0-96-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
squashfs-tools
The following NEW packages will be installed:
snapd squashfs-tools
0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
Need to get 8,625 kB of archives.
After this operation, 41.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.riken.jp/Linux/ubuntu xenial/main i386 squashfs-tools i386 1:4.3-3ubuntu2 [111 kB]
Get:2 http://ftp.riken.jp/Linux/ubuntu xenial-updates/main i386 snapd i386 2.28.5 [8,514 kB]
Fetched 8,625 kB in 2s (4,261 kB/s)
Selecting previously unselected package squashfs-tools.
(Reading database ... 265067 files and directories currently installed.)
Preparing to unpack .../squashfs-tools_1%3a4.3-3ubuntu2_i386.deb ...
Unpacking squashfs-tools (1:4.3-3ubuntu2) ...
Selecting previously unselected package snapd.
Preparing to unpack .../archives/snapd_2.28.5_i386.deb ...
Unpacking snapd (2.28.5) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up squashfs-tools (1:4.3-3ubuntu2) ...
Setting up snapd (2.28.5) ...
user@user-computer:~$ snap install brave --beta
error: snap "brave" not found (at least in channel "beta")
user@user-computer:~$
(/usr/lib/firefox/firefox:3115): dconf-WARNING **: Unable to open /var/lib/menu-xdg/dconf/profile/user: Permission denied
问题是我的笔记本电脑是 32 位的,而这个软件是 64 位的吗?我应该将服务器更改为其他国家/地区吗?(我该怎么做?)
我怀疑答案是没有可用的 32 位版本,快照会自动考虑我的处理器类型,因此 32 位通道中没有安装文件。
Brave 浏览器快照包已暂时停产。目前从 Brave 浏览器官方网站在 Ubuntu 中安装 Brave 浏览器的说明如下。打开终端并输入:
更新
勇敢的浏览器 snap 包已重新提交到 Snap Store,可以使用以下命令安装在所有当前支持的 Ubuntu 版本中:
新的 Brave 浏览器会自动阻止广告和跟踪器,使其比您当前的浏览器更快、更安全。这个包是官方的。
我怀疑使用 snap 是否是在 Ubuntu 上安装 Brave 的最佳方法,因为我在遵循该方法后遇到了更新问题。
由于https://snapcraft.io/brave上的建议,我卸载了 snap 版本:
他们在那里推荐:
对我来说,在使用勇敢的网页(https://brave-browser.readthedocs.io/en/latest/installing-brave.html#linux)安装勇敢的浏览器后,我需要运行:
root@localhost# sudo apt 安装勇敢浏览器:amd64
代替:
root@localhost# sudo apt 安装勇敢浏览器