Installing Brave Browser on Ubuntu/Debian 🌱

Install Brave Browser

  1. Log into the Debian/Ubuntu device
  2. Run the following commands in a terminal:
    sudo apt install apt-transport-https curl
    curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -
    echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list
    sudo apt update
    sudo apt install brave-browser

Uninstall Firefox (Optional)

  1. To uninstall Firefox, continue with the following commands in a terminal:
    # remove firefox and any orphaned packages
    sudo apt remove firefox* --purge
    sudo apt autoremove
    sudo apt clean
    # remove hidden .mozilla folder in user directory
    sudo rm ./.mozilla/ -r