What is Puppeteer and can it be uninstalled?

Looking in my ~/.cache/ directory I saw a directory named puppeteer that had a chrome and chorme-headless-shell beneath it. Searching tells me that Puppeteer is a Javascript library for automating headless browser tasks. There is also a ~/.yarn/berry/cache directory that has ~1720 files, some of which carry the Puppeteer name.

I did not install any of this stuff. Why is it there?

I don’t trust background automation that I have not explicitly installed. I also don’t trust Google and don’t like seeing a bunch of Google files mysteriously installed under my home directory.

Searching the forum for “puppeteer” turned up nothing for me. Can anyone help me to understand what this is about and if/how I can uninstall it since I don’t see anything about it in Pacman?

Thanks.

Maybe try using zstdgrep in the pacman cache (/var/cache/pacman/pkg) to see if you can find the package that includes it?

It’s installed via npm, so hopefully there’s a script that zstdgrep can read (it’s a front-end for grep that searches through .zst files - which I just now learnt is a compression format used by pacman :smiley: )

Thanks, Matthew. It turns out that it came from the rocketchat-desktop package. I forgot that I was looking into that package and had just installed it. Mystery solved. Thanks again for the suggestion.

1 Like