Prolog Cheatsheet Installation Follow the below commands to install prolog in Linux To install GNU Prolog $ sudo apt install gprolog To install SWI Prolog $ sudo apt install swi-prolog