Brave is a free and open source web browser that you can use on Arch Linux to browse the internet. It is based on Chromium, and comes with many features.
Brave browser is available in the Arch User Repository AUR, so you can easily install brave browser on your Arch Linux machine via an AUR helper, such as Yay or Paru.
In this tutorial, you will learn how to install Brave browser on Arch Linux.
Step 1 - Update Arch Linux system
Before we start with this tutorial, ensure that your Arch Linux system is up to date. Updating packages on Arch Linux is quite simple, and it can be easily done via the terminal.
To update Arch Linux, you can do so by using pacman, the default package manager for Arch Linux.
Press CTRL + ALT + T, to launch terminal, and run the command below to update your system.
sudo pacman -Syu
Step 2 - Install Yay on Arch Linux
In order to be able to download and install brave browser from the AUR repository in Arch Linux, you must install Yay first.
To install Yay on Arch Linux, is very easy.
All you have to do is run the commands below one by one.
pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
Once you install Yay, verify that Yay was installed correctly, by checking Yay version via the command below.
yay -v
Step 3 - Install Brave on Arch Linux
Now that your Arch Linux system is up to date, and Yay installed, you can proceed to install brave via Yay.
To do so, simply run the command below.
yay -S brave-bin
The command above will install the stable version of Brave browser on your Arch Linux machine.
If you want to install other versions of Brave browsers, such as beta or nightly versions, then simply follow the steps below.
To install Brave beta version, run the following.
yay -S brave-beta-bin
To install Brave browser nightly version, simply run the command below.
yay -S brave-nightly-bin
Step 4 - Launch Brave on Arch Linux
Now that Brave is installed on your Arch Linux system, you can launch it and enjoy latest brave features.
Depending on the desktop environment that you are using on your Arch machine, you should be able to launch Brave browser from the applications menu, by simply clicking "Brave" icon.
For example we are using Gnome as DE on our Arch machine, so to launch Brave we can do so by clicking
Activities > Search: Brave > Brave
If you prefer to launch brave via terminal on Arch Linux, you can do so by executing the command below.
brave
And Brave should start.
Update Brave on Arch Linux
Updating Brave on Arch Linux is quite simple, and it can be done by simply using Yay.
To update Brave and other packages that were installed via Yay, simply run the command below.
yay -Syu
Uninstall Brave on Arch Linux
If you no longer need Brave installed on your Arch linux machine, you can easily uninstall it via Yay or simply via pacman.
To uninstall brave using Yay, run the following.
yay -R brave-bin
To uninstall brave using pacman, execute the command below.
sudo pacman -R brave-bin
Conclusion
In this tutorial, you learned how to install Yay, and how to use Yay to install brave browser on Arch Linux, by downloading and installing brave-bin
package from the Arch User Repository.