# How to Fully Remove Brave Browser on Linux


Removing Brave Browser from your Linux system might seem straightforward, but to fully clear it out, you need to go beyond just uninstalling the application. Whether you want to switch browsers or troubleshoot issues, completely removing Brave ensures no leftover files or settings remain.

In this guide, I’ll walk you through the entire process of fully removing Brave Browser on Linux. You’ll learn how to uninstall the browser using your package manager, delete configuration files, and clean up any residual data. By the end, your system will be free of Brave, just like it was before installation.

## Why Fully Remove Brave Browser on Linux?

Simply uninstalling Brave using your package manager doesn’t always remove everything. Some files, like user profiles, cache, and settings, remain on your system. These leftovers can:

- Take up disk space unnecessarily
- Cause conflicts if you reinstall Brave later
- Retain personal data you might want to delete for privacy

Fully removing Brave means deleting all related files and folders, so your system is clean. This is especially important if you’re switching browsers or troubleshooting Brave-related problems.

## Step 1: Uninstall Brave Browser Using Your Package Manager

The first step is to uninstall Brave using the package manager you used to install it. Brave can be installed via different methods on Linux, such as APT, Snap, or Flatpak. Here’s how to remove it depending on your installation method.

### Uninstall Brave Installed via APT (Debian, Ubuntu, and derivatives)

If you installed Brave using the official APT repository, open a terminal and run:

```bash
sudo apt remove brave-browser
sudo apt purge brave-browser
```

- `remove` deletes the package but keeps configuration files.
- `purge` removes the package and its configuration files.

After that, clean up unused dependencies:

```bash
sudo apt autoremove
```

### Uninstall Brave Installed via Snap

If you installed Brave as a Snap package, remove it with:

```bash
sudo snap remove brave
```

Snap packages are self-contained, so this removes most files.

### Uninstall Brave Installed via Flatpak

For Flatpak installations, use:

```bash
flatpak uninstall com.brave.Browser
```

This removes the Flatpak package and related files.

## Step 2: Delete Brave Browser Configuration and Cache Files

Even after uninstalling, Brave leaves behind user data and cache files in your home directory. These files store your browsing history, bookmarks, extensions, and settings.

To fully remove Brave, delete these folders:

```bash
rm -rf ~/.config/BraveSoftware
rm -rf ~/.cache/BraveSoftware
```

- `~/.config/BraveSoftware` contains Brave’s configuration files.
- `~/.cache/BraveSoftware` stores cached data.

If you want to be extra thorough, check for any Brave-related files in other hidden folders:

```bash
rm -rf ~/.local/share/BraveSoftware
```

This folder may contain additional user data.

## Step 3: Remove Brave Repository and GPG Keys (If Installed via APT)

If you added Brave’s official repository to your system, it’s good to remove it to avoid future updates or errors.

### Remove Brave Repository

Delete the Brave source list file:

```bash
sudo rm /etc/apt/sources.list.d/brave-browser-release.list
```

### Remove Brave GPG Key

Remove the Brave signing key:

```bash
sudo rm /usr/share/keyrings/brave-browser-archive-keyring.gpg
```

After removing these, update your package list:

```bash
sudo apt update
```

## Step 4: Verify Brave Browser Is Fully Removed

To confirm Brave is gone, try running:

```bash
brave-browser
```

If the command is not found, Brave is uninstalled.

You can also check for any remaining Brave files with:

```bash
find ~ -iname "*brave*"
```

If no files appear, you’ve successfully removed Brave.

## Optional: Remove Brave’s Desktop Entry and Icons

Sometimes, Brave’s desktop shortcut or menu entry remains after uninstalling. To remove these:

- Delete Brave’s desktop entry:

```bash
rm ~/.local/share/applications/brave-browser.desktop
```

- Remove Brave icons from the icon cache:

```bash
rm -rf ~/.local/share/icons/hicolor/*/apps/brave-browser.png
```

Then refresh the desktop environment’s icon cache:

```bash
gtk-update-icon-cache
```

## Troubleshooting Common Issues When Removing Brave on Linux

Sometimes, you might face issues while uninstalling Brave. Here are common problems and solutions:

- **Package not found:** Make sure you use the correct package name (`brave-browser` for APT, `brave` for Snap).
- **Permission denied:** Use `sudo` to run uninstall commands.
- **Leftover files:** Manually delete configuration and cache folders as described.
- **Repository errors:** Remove Brave’s repository and GPG keys to fix update errors.

## Summary Table: Commands to Fully Remove Brave Browser on Linux

| Step                         | Command(s)                                                                                   |
|------------------------------|---------------------------------------------------------------------------------------------|
| Uninstall via APT             | `sudo apt remove brave-browser` <br> `sudo apt purge brave-browser` <br> `sudo apt autoremove` |
| Uninstall via Snap            | `sudo snap remove brave`                                                                    |
| Uninstall via Flatpak         | `flatpak uninstall com.brave.Browser`                                                      |
| Remove config and cache files | `rm -rf ~/.config/BraveSoftware` <br> `rm -rf ~/.cache/BraveSoftware` <br> `rm -rf ~/.local/share/BraveSoftware` |
| Remove repository and keys   | `sudo rm /etc/apt/sources.list.d/brave-browser-release.list` <br> `sudo rm /usr/share/keyrings/brave-browser-archive-keyring.gpg` <br> `sudo apt update` |
| Remove desktop entry and icons| `rm ~/.local/share/applications/brave-browser.desktop` <br> `rm -rf ~/.local/share/icons/hicolor/*/apps/brave-browser.png` <br> `gtk-update-icon-cache` |

## Conclusion

Fully removing Brave Browser on Linux involves more than just uninstalling the app. You need to delete configuration files, caches, and any repositories or keys you added. This ensures no Brave data remains on your system, freeing up space and protecting your privacy.

By following the steps above, you can confidently remove Brave from any Linux distribution, whether you installed it via APT, Snap, or Flatpak. This clean removal helps avoid conflicts and prepares your system for a fresh browser installation or a switch to another browser.

---

### FAQs

### How do I check if Brave Browser is installed on Linux?

You can check by running `brave-browser` in the terminal. If it launches, it’s installed. Alternatively, use your package manager to list installed packages, like `apt list --installed | grep brave`.

### Will uninstalling Brave delete my bookmarks and passwords?

Uninstalling Brave does not delete bookmarks or passwords stored in your user profile unless you manually delete the configuration folders (`~/.config/BraveSoftware`).

### Can I reinstall Brave after fully removing it?

Yes, you can reinstall Brave anytime. Fully removing it just deletes all data and settings, so the new install will be fresh.

### Is it safe to delete Brave’s cache and config folders?

Yes, deleting these folders removes your browsing data and settings. Make sure to back up anything important before deleting.

### How do I remove Brave if I installed it from source?

If you built Brave from source, you’ll need to manually delete the installed files and any build directories. Check the build instructions for uninstall commands or remove files from `/usr/local` or your chosen install path.
