How to Install Brave Browser on Ubuntu 22.04 / Ubuntu 20.04

Brave browser is an open-source browser based on the Chromium web browser developed by Brave Software, Inc. Brave’s focus is privacy, which lets you automatically block online advertisements and website trackers (default settings).
It is a solid browser that offers excellent privacy by keeping all users’ data on their devices and is not accessible by any third party.
Here, we will see how to install Brave browser on Ubuntu 22.04 / Ubuntu 20.04.
Add Brave Browser Repository on Ubuntu 22.04
Add Brave Browser Stable Repository
First, download the Brave browser’s signing key and install it.
wget -qO - https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/brave-browser-stable-keyring.gpg
Then, set up the Brave browser stable repository.
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/brave-browser-stable-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
Add Brave Browser Beta Repository
First, download the Brave browser’s signing key and install it.
wget -qO - https://brave-browser-apt-beta.s3.brave.com/brave-browser-beta-archive-keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/brave-browser-beta-keyring.gpg
Then, set up the Brave browser beta channel repository.
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/brave-browser-beta-keyring.gpg] https://brave-browser-apt-beta.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-beta.list
Install Brave Browser on Ubuntu 22.04
Install Brave Browser Stable
Update the repository index after adding the Brave browser’s repository.
sudo apt update
Then, install Brave browser using the below command.
sudo apt install -y brave-browser
Install Brave Browser Beta
Update the repository index after adding the Brave browser’s beta channel repository.
sudo apt update
Then, install Brave browse beta using the below command.
sudo apt install -y brave-browser-beta
Launch Brave Browser on Ubuntu 22.04
Once the Brave browser installation is complete, you can start the Brave browser by typing brave-browser
or brave-browser-beta
in the terminal or going to Activities.
While you launch the browser, you have an option to set Brave browser as the default web browser if you want.

Conclusion
That’s All. I hope you have learned how to install Brave Browser on Ubuntu 22.04 / Ubuntu 20.04.