Install Brave Browser for Clear Linux
Share on:Edit on:Table of Contents
Introduction
As of writing this, Intel’s Clear Linux is new to Linux desktop OS market. So all the packages might not be available for the OS yet.
Brave browser is not available in their software repositories and it’s hard to find official instructions to install this browser.
So, I have written below the simplified version of the official forum thread discussion about the same topic on how to install Brave browser.
Instructions on how to install Brave browser
Run the following command in a terminal to get the root privileges.
sudo su -
Get the dnf
and rpm
tools
swupd bundle-add package-utils
Add the Brave repository
dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/x86_64/
Ignore the following errors
Unable to detect release version (use '--releasever' to specify release version)
Failed loading plugin: changelog
Unable to detect release version (use '--releasever' to specify release version)
Failed loading plugin: changelog
rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
Download the Brave browser
dnf download brave-browser
Install the files without extraction
rpm -U --nodeps brave-browser*.rpm
Ignore the following errors
warning: brave-browser-1.2.43-1.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 82d3dc6c: NOKEY
/var/tmp/rpm-tmp.a0j6Nd: line 612: /etc/default/brave-browser: No such file or directory
/var/tmp/rpm-tmp.a0j6Nd: line 646: service: command not found
/var/tmp/rpm-tmp.a0j6Nd: line 665: /usr/sbin/update-alternatives: No such file or directory
warning: brave-browser-1.2.43-1.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 82d3dc6c: NOKEY
/var/tmp/rpm-tmp.a0j6Nd: line 612: /etc/default/brave-browser: No such file or directory
/var/tmp/rpm-tmp.a0j6Nd: line 646: service: command not found
/var/tmp/rpm-tmp.a0j6Nd: line 665: /usr/sbin/update-alternatives: No such file or directory
Remove downloaded files
rm -f brave-*.rpm
Fix the font loading issue
sed -i 's\/usr/bin/brave-browser-stable\env FONTCONFIG_PATH=/usr/share/defaults/fonts /usr/bin/brave-browser-stable\g' /usr/share/applications/brave-browser.desktop
Reboot your system
reboot
Brave browser uninstallation steps
sudo -s
rpm -e brave-browser