如何为 32 位 lubuntu 16.04 安装 Brave 网络浏览器?

如何为 32 位 lubuntu 16.04 安装 Brave 网络浏览器?

尝试按照指示进行安装,我的终端输出包含以下内容:

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 位版本,该 snap 会自动考虑我的处理器类型,因此 32 位通道中没有安装文件。

答案1

Brave 浏览器 snap 包已暂时停用。目前 Brave 浏览器官方网站上提供的在 Ubuntu 中安装 Brave 浏览器的说明如下。打开终端并输入:

sudo apt install apt-transport-https curl
curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -
echo "deb [arch=amd64] 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

更新

brave浏览器Snap包已经重新提交到Snap Store,可以使用以下命令安装在所有当前支持的Ubuntu版本中:

sudo snap install brave

新的 Brave 浏览器会自动屏蔽广告和跟踪器,使其比您当前的浏览器更快、更安全。此软件包是官方的。

答案2

就我的情况来说,所有说明都不起作用,包括官方文档原因是我在 M1 (arm64) 芯片上的 MacOS Parallels 上运行 Ubuntu 22.04。我还没有尝试从源代码构建,但那将是我的下一次尝试。

答案3

我怀疑使用 snap 是否是在 Ubuntu 上安装 Brave 的最佳方式,因为我按照该方法操作后遇到了更新问题。

我根据这里的建议卸载了 snap 版本https://snapcraft.io/brave

我们建议使用以下说明下载 Brave:https://brave-browser.readthedocs.io/en/latest/installing-brave.html相反。此 Snap 由社区维护,可能不包含在最新的 Brave 版本中。

他们建议:

发布渠道安装

Ubuntu 16.04+ 和 Mint 18+

sudo apt install apt-transport-https curl
curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -
source /etc/os-release
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ $UBUNTU_CODENAME main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-${UBUNTU_CODENAME}.list
sudo apt update
sudo apt install brave-browser

答案4

对我来说,使用勇敢的网页后(https://brave-browser.readthedocs.io/en/latest/installing-brave.html#linux)安装我需要运行的勇敢浏览器:

root@localhost# sudo apt install brave-browser:amd64

代替:

root@localhost# sudo apt install brave-browser

相关内容