Remove Brave Browser Linux: Full Uninstall Guide
In this article
This guide shows you how to completely remove Brave Browser from Linux, including its configuration files, cache, and other leftover data. By the end, your system will have no trace of Brave, freeing up space and ensuring no background processes remain. You'll need terminal access and your user password for sudo commands.
What You'll Need
- A Linux system with Brave Browser installed (via .deb, .rpm, or Snap)
- Terminal access (Ctrl+Alt+T on most distributions)
- Sudo privileges (you'll be prompted for your password)
Step-by-Step
- Close Brave completely. Make sure no Brave windows are open. Check for background processes by running
pgrep -i bravein the terminal. If it returns a process ID, kill it withpkill -i brave. - Identify how Brave was installed. This matters because the removal command differs. Run
which brave-browserorwhich brave. If it shows a path like/usr/bin/brave-browser, it's likely a native package. If the path includes/snap/, it's a Snap install. If you're unsure, check with your package manager. - Remove Brave via your package manager.
- Debian/Ubuntu (deb):
sudo apt remove --purge brave-browser(orbrave-browser-betaif you installed the beta). - Fedora/RHEL (rpm):
sudo dnf remove brave-browser(orsudo yum remove brave-browseron older systems). - Arch/Manjaro:
sudo pacman -Rns brave-bin(orbraveif you used the AUR package). - Snap:
sudo snap remove brave. - Flatpak:
flatpak uninstall -y com.brave.Browser.
- Debian/Ubuntu (deb):
- Delete user configuration files. Brave stores your profile, bookmarks, and settings in hidden folders in your home directory. Remove them with:
rm -rf ~/.config/BraveSoftwareandrm -rf ~/.cache/BraveSoftware. Also check for~/.local/share/BraveSoftwareand remove it if present. - Remove any remaining system-level files. Some installations leave behind a repository file or key. For Debian/Ubuntu, run
sudo rm /etc/apt/sources.list.d/brave-browser-release.list(or similar) andsudo rm /usr/share/keyrings/brave-browser-archive-keyring.gpg. For Fedora, remove the repo file withsudo rm /etc/yum.repos.d/brave-browser.repo. - Check for leftover processes and files. Run
pgrep -i braveagain – it should return nothing. Then search for any remaining Brave files withfind ~ -iname "*brave*" 2>/dev/null. If you see anything, delete it manually (e.g.,rm -rf ~/.config/BraveSoftwareif it still exists). - Verify removal. Try running
brave-browser --version– it should say "command not found". Also check your application menu – Brave should no longer appear.
Common Mistakes
- Using the wrong package name. If you installed Brave from the official site, the package might be named
brave-browser, but if you used a community package, it could bebraveorbrave-bin. Check withdpkg -l | grep brave(Debian) orrpm -qa | grep brave(Fedora). - Forgetting to remove config files. The package manager only removes the binary and system files. Your profile data remains in
~/.configand~/.cache, which can be large and contain personal data. - Killing processes incorrectly. Using
killall bravemight not work if the process name is different (e.g.,brave-browser). Usepkill -i braveto match case-insensitively. - Not removing the repository key. Leaving the GPG key or repo file means your package manager will still try to update from Brave's repo, causing errors or re-installation prompts.
Tips
- Back up your bookmarks first. If you think you might return, export your bookmarks to an HTML file before removing. In Brave, go to Bookmarks > Bookmark Manager > Export Bookmarks.
- Use a single command for config removal. You can combine the rm commands:
rm -rf ~/.config/BraveSoftware ~/.cache/BraveSoftware ~/.local/share/BraveSoftware. - Check for snap leftovers. Snap packages sometimes leave a
/snap/bravedirectory. If you used Snap, remove it withsudo rm -rf /snap/braveafter uninstalling. - Clear your package manager's cache. After removing, you can run
sudo apt clean(Debian) orsudo dnf clean all(Fedora) to free up downloaded package files.
Troubleshooting
- "Command not found" but Brave still launches. This usually means you removed the binary but the desktop entry remains. Check
/usr/share/applicationsor~/.local/share/applicationsfor a.desktopfile containing "brave" and delete it. - Package manager says "package not installed". If you're sure Brave is there, you might have installed it manually (e.g., downloaded a .deb and installed with
dpkg -i). In that case, usedpkg -r brave-browser(Debian) orrpm -e brave-browser(Fedora). - Snap removal fails. If
sudo snap remove bravehangs, trysudo snap remove --purge brave. If it still fails, reboot and try again. - Brave reappears after reboot. This can happen if you didn't remove the repository. Check your package manager's sources for any Brave repo and delete it (see Step 5).
- Permission denied when deleting config files. If you see "Permission denied", some files may be owned by root. Use
sudo rm -rf ~/.config/BraveSoftware– but be careful, as sudo can delete system files if you mistype the path.
Frequently Asked Questions
Will uninstalling Brave delete my bookmarks and passwords?
Yes, if you remove the ~/.config/BraveSoftware folder, all your profile data (bookmarks, passwords, history, extensions) will be permanently deleted. If you want to keep them, back up that folder before removal.
Can I reinstall Brave later without losing my settings?
Only if you backed up the config folder. Otherwise, a fresh install will start with a new profile.
What's the difference between 'remove' and 'purge' on Debian?
'Remove' deletes the binary but leaves config files in /etc. 'Purge' also deletes those system-level config files. For a full removal, use purge.
Do I need to remove the GPG key?
If you plan to reinstall Brave later, you can leave it. But for a clean removal, it's recommended to delete it to avoid confusion.
Is there a one-liner to remove everything?
Yes, for Debian/Ubuntu: sudo apt remove --purge brave-browser && rm -rf ~/.config/BraveSoftware ~/.cache/BraveSoftware. But be careful – this is irreversible.
Why is there a 'brave' process still running after uninstall?
It might be a background update process. Kill it with pkill -i brave and check again. If it persists, reboot.