You can use the Flatpak instead, which probably is more secure and easier way to install Brave
This package provides Brave Browser, the browser based on Chromium with privacy in mind and a built in ad blocker. This package merely takes the .deb release version from the authors, extracts and installs the files as is. Plus, ensures the dependencies are there. Note: This is not building binaries from source as a proper package should. Hence the -bin
shuffix.
The template file is prepared for use with xbps-src in Void Linux.
# Setup - do it once if not done already:
git clone https://github.com/void-linux/void-packages
cd void-packages
./xbps-src binary-bootstrap
git clone https://github.com/soanvig/brave-bin ./srcpkgs/brave-bin
# To install and update Brave:
git -C ./srcpkgs/brave-bin pull
./xbps-src pkg brave-bin
sudo xbps-install --repository hostdir/binpkgs brave-bin
The repository is automatically updated to the latest Brave stable release using Github Actions schedule. By repeating installation commands described above you can update your Brave installation.
Template version can be updated by running update-template.fish
script.
Dependencies:
fish
(shell)gh
(GitHub CLI)sha256sum
envsubst
(part ofgettext
)