Can't uninstall the Brave browser

I am having difficulty uninstalling Brave browser.

I installed it using the following command: suco pacman -S Brave.

But when I try to uninstall it using “sudo pacman -Rns Brave”, CachyOS give me the message “error: target not found: Brave”.

Try:
sudo pacman -Rns brave-bin

What @triam say. You could also start by
pacman -Qi brave-bin
to see if that is actually installed.

curl -fsS https://dl.brave.com/install.sh | sh

to install, paste that in terminal, after you uninstall, works best for me with brave on KDE.

Thanks @triam. That worked. But why did I have to install Brave but uninstall Brave-bin?

Oh no, the installation script does a partial upgrade:

show $sudo pacman -Sy --needed --noconfirm "brave-browser$dashCHANNEL"

that would be reason enough not to use it on my system…

Nothing new. :wink:


No you did not.

Give a look to your packages with something like;

pacman -Qqs brave

and you will see the real package name.

PS.

The history command can also be helpful when we want to look back at our previous commands. ex;

history | grep pacman

PPS.

If you did perform a partial upgrade, such as by following the previous script, then perform a full sync/refresh/upgrade to ameliorate the situation;

sudo pacman -Syu

I was watching this video on what and how to install software after installing CachyOS: https://youtu.be/-ZBzvFCFeVA?si=I5at-6WxIM68FFZo

While the video shows how to install three browsers, I edited it to just install Brave. I’ve tried to look-up “-S”, but nothing’s coming up. What is it? Nothing came up when I typed it into the search box in CachyOS Wiki.

I’m going to re-read this post and try the history commands on other software just to see what’s there.

Well, that is a video by some random YouTuber who jumped the Cachy hype-train.

First of all, he obviously installed a super-old version of Cachy that still came with the deprecated Cachy browser. If that’s not a red flag, then I don’t know what is.

Then he claims that these are “essential”:

  • Firefox
  • Chromium
  • Brave
  • Multimedia Apps
    • VLC
    • MPV
    • ffmpeg
  • Libre Office
  • Open Office
  • and I got tired after that.

All of this is just nonsense. None of that is “essential” for anything.

Firefox comes pre-installed with the current Cachy ISO. Calling 3 browsers at once “essential” is… questionable to say the least.

At 6:21 we can clearly see that he installs brave-bin, which answers your question.

If you followed this video to the end and did every command he prints on screen then congratulations, you successfully bloated your system. You could have gotten that much easier by installing the lastest Ubuntu or Mint as OS. :laughing:

Depends on what you want to do. What exactly do you want to achieve? I don’t really understand “look-up -S”.

Here is the official documentation on pacman, maybe start there.

:backhand_index_pointing_down:

https://discuss.cachyos.org/t/tutorial-get-acquainted-with-pacman-package-manager/12131#p-37649-pacman-s-7