# how to run prolog # 1: install swipl sudo apt install swi-prolog-nox # 2: run you prolog file with swipl swipl yourFileHere.pl