Duke-PL-Course/Prolog

Upgrading gprolog on the VM

sudowork opened this issue · 0 comments

@Duke-PL-Course

As @atm15 pointed out, the version of gprolog on the VM is outdated (I just pulled it from canonical without checking). Because of that, the false/0 predicate hasn't been implemented yet. The quickest way to fix this is to open up a new terminal and running this small upgrade script. You can run it as a one-liner by opening up a terminal and pasting this in:

wget -qO- https://gist.github.com/sudowork/5054395/raw/c0c60fe4e76b220a091eac6827f16ead344e0bea/upgrade-gprolog-ubuntu.sh | /bin/sh && hash -r

Note that this only applies to people using the VM or an outdated version of gprolog on Ubuntu-based distros.