8

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?

7

TIP: Don't forget to export your bookmarks, 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

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

1

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
4
  • It worked - the folder was ~/.config/BraveSoftware -, but (from apt-get manual) purge is identical to remove except that packages are removed and purged (any configuration files are deleted too), so shouldn't it remove automatically ~/.config/any-folder-related-to-the-removed-package? – Ntakwetet Mar 14 '20 at 11:31
  • 1
    It deponds, not compulsory. – Aravind Mar 15 '20 at 6:02
  • After all the above I also had to do this: sudo apt remove brave-keyring – jo_ Nov 8 '20 at 19:07
  • and to remove from ppa search rm /etc/apt/sources.list.d/brave-browser-release.list – jo_ Nov 8 '20 at 19:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.