1

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?

migrated from stackoverflow.com Dec 12 '16 at 9:14

This question came from our site for professional and enthusiast programmers.

  • I am an old Linux user, so I'm awkward on mac – darioSka Dec 12 '16 at 9:08
  • "installs GNU Prolog in /opt/local/ and /opt/local/bin" (from the download link) – you should look there. – deceze Dec 12 '16 at 9:14
  • Could I remove the folders containing gprolog without negative effects? – darioSka Dec 12 '16 at 9:16
7

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:

  • I uninstall it removing all these folders and my Mac is now clean! – darioSka Dec 12 '16 at 9:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .