If you are looking to install the most secure browser for Android devices or the best private browser for PC, you can opt for Brave browser. Here is how to install Brave browser in Ubuntu.
Install Brave Browser in Ubuntu
Run the following commands:
sudo apt install apt-transport-https curl sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg sudo gedit /etc/apt/sources.list.d/brave-browser-release.sources
Now add/paste the following lines in the pop-up text editor window:
Types: deb
URIs: https://brave-browser-apt-release.s3.brave.com/
Suites: stable
Components: main
Architectures: amd64
Signed-By: /usr/share/keyrings/brave-browser-archive-keyring.gpg
Once you added the above lines, run the following commands:
sudo apt update sudo apt install brave-browser
That’s it. You have installed Brave browser.
NOTE: APT introduced deb822 .sources file as an alternative to sources.list files. The format for two one-line-style entries using the deb and deb-src types is:
deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] […]
deb-src [ option1=value1 option2=value2 ] uri suite [component1] [component2] […]
Alternatively the equivalent entry in deb822 style looks like this:
Types: deb deb-src
URIs: uri
Suites: suite
Components: [component1] [component2] […]
option1: value1
option2: value2
Also, the default /etc/apt/sources.list has been replaced in Ubuntu 23.10. So the default default sources list should be /etc/apt/sources.list.d/ubuntu.sources instead of /etc/apt/sources.list.