Unable to clear Linux of Brave data by uninstalling

Description of the issue:
How can this issue be reproduced?
On Linux do :
sudo apt remove brave-browser brave-keyring
sudo rm /etc/apt/sources.list.d/brave-browser-*.list

  1. Reinstall Brave
  2. Observe that all information from previous installation- setting, profiles, passwords bookmarks etc. has be preserved from the previous installation.

Expected result:

All information from Brave is wiped by the above two command procedure.

This is how Brave itself says to “completely uninstall” Brave browser from Linux.

From https://support.brave.com/hc/en-us/articles/4404876135565-How-do-I-uninstall-Brave- (retrieved 8 31 2022)

"This article covers how to uninstall Brave browser as well as any data associated with the application. "

" Uninstall Brave on Linux systems:

To uninstall Brave on your Linux system, open the Terminal and use the commands appropriate for your distribution.

Debian 9+, Ubuntu 16.04+ and Mint 18+

sudo apt remove brave-browser brave-keyring
sudo rm /etc/apt/sources.list.d/brave-browser-*.list

Brave Version( check About Brave):

Additional Information:

Hey Dan. Welcome to Linux. :wink: This is typical behavior for packages which write out user data, and arguably the correct behavior.

The package manager should handle system-wide files, but not blow away user-specific files, specifically for this reason – depending on the app, users typically expect their own configs, settings, files, etc. to not be mauled by the package manager.

Frankly, same goes for Windows. Uninstalling a program normally won’t blow away your own bookmarks, cache, and so on for the same reason. But, you’re free to delete them yourself.

Thank you ! I did find the commands to do this for people who might want to : There are the two original steps given by Brave plus these two:

rm -rf ~/.cache/BraveSoftware
rm -rf ~/.config/BraveSoftware

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.