Some time ago I installed Brave but I didn't like it, so I removed it with sudo apt-get remove --purge brave-browser. After some time I had to reinstall it because I needed a Chromium-based browser. As soon as I opened it it asked be to redeem my old BATs, so I deduce that apt-get left something in my system.

Now I don't need Brave anymore and I'm wondering how to remove it completely. I would use sudo apt-get remove --purge brave-browser once more but it looks like it doesn't really remove everything - what command should I use instead?


Solution 1:

TIP: Don't forget to export your bookmarks & passwords, just in case you want to import those in some other browser you want to use.


I had to do this all:

sudo apt remove brave-browser
sudo apt purge brave-browser
rm -rf ~/.config/BraveSoftware
rm -rf ~/.cache/BraveSoftware

Reference

Solution 2:

for me Brave was taking up too much space. One liner non-interactive answer. Inspired by manoj L

sudo apt -y remove brave-browser && sudo apt -y purge brave-browser && rm -rf ~/.config/BraveSoftware && rm -rf ~/.cache/BraveSoftware

Solution 3:

A package stores personal and user specific configuration data in folder ~/.config

It is possible that sudo apt-get remove --purge brave-browser left those configuration files

Try:

cd ~/.config
ls -l | grep brave

If found:

rm -r ~/.config/FOLDER_NAME_HERE