Drivers and spyware seem to have a lot in common these days. They launch on startup, perform unnecessary and sometimes unsanctioned operations, collect package and send all the data they can get theirs hands on to the manufacturer and are a pain to remove. Ghub is one of those things. Here's how to get rid of it.

Open a text editor and copy-paste the following into the editor.

#!/bin/bash

set -euo pipefail

sudo "/Applications/lghub.app/Contents/Frameworks/lghub_updater.app/Contents/MacOS/lghub_updater" --uninstall
sudo rm -rf "/Applications/lghub.app"
sudo rm -rf "/Users/$(whoami)/Library/Application Support/lghub"
sudo rm -rf "/Users/Shared/LGHUB/"
sudo rm -rf "/Users/Shared/.logishrd"

Now, make sure you save it somewhere you remember. Name it something along the lines of fck-ghub.sh or something along these lines.

Open a terminal, make the file executable and run it:

chmod +x fck-ghub.sh
./fck-ghub.sh

You'll be prompted for your admin password since it'll run the 'original', be it hidden, uninstaller first.

There you go! Hope this helps you out.

Removing logitech GHub from your mac