To uninstall mod-gearman-worker just follow these instructions.
/ubuntu/trusty/universe///install/index.html Worker agent for Mod-Gearman Ubuntu 14.04 LTS universe/net 1.4.14-1
sudo apt-get remove mod-gearman-worker
Which will remove just the mod-gearman-worker package itself.
sudo apt-get remove --auto-remove mod-gearman-worker
This will remove the mod-gearman-worker package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for mod-gearman-worker then this will work.
sudo apt-get purge mod-gearman-worker
Or similarly, like this mod-gearman-worker
sudo apt-get purge --auto-remove mod-gearman-worker
|Description||Worker agent for Mod-Gearman|