Remove Prolog from MacOS I have a MacBookPro with macOS Sierra v.10.12.1.  I downloaded gprolog from this link and installed this using MacPorts. 

Now, given that Prolog does not work like I wanted, I decided to remove it, but I don't know how.

I tried to remove it using Homebrew, running:

:~ dario$ brew remove gprolog


but this gives me

Error: No such keg: /usr/local/Cellar/gprolog


If I run gprolog command in terminal, it gives me 

-bash: gprolog: command not found 


The only way I have to run gprolog is writing gprolog in Spotlight and clicking on gprolog's icon.
I also tried to run which gprolog and whereis gprolog, without any results.

How can I uninstall gprolog from my Mac?
You say you installed it using MacPorts but you tried to uninstall it using Homebrew? Homebrew has no knowledge that you installed it using MacPorts. Use MacPorts to uninstall:

port uninstall gprolog


If that's not the case, you can manually remove the following files instead: