Wednesday, June 3, 2015

Installing Prolog on Windows

  1. Open your favourite web browser (Internet Explorer, Mozilla Firefox etc). In the address bar type:

    http://www.swi-prolog.org

    (or simply click on this link), to visit the homepage of the SWI-Prolog Project.


  2. On the navigation menu at the left hand side of the screen, click on Download and in the page that will appear, click on Stable Release.



    This page shows all the current available SWI-Prolog stable releases for a variety of platforms and operating systems. Since the lab PCs have MS Windows XP as their operating system, we will download and install the SWI-Prolog XPCE for MS-Windows XP release.


  3. In the dialog box that pops up, click on Save and save the file on your desktop



    (in the Save as... window that pops up, click on Desktop and then click on Save).


  4. When the download is complete click on the Run Button (alternatively double click on the w32pl5654.exe file on your desktop.


  5. If you are running Internet Explorer, you will be prompted with a security question ("The publisher could not be verified. Are you sure you want to run this software?"). Select Run.


  6. The SWI-Prolog Installer will ask you to accept the GNU general Public Licese. Read it (if you wish) and click on I Agree.


  7. In the following window select the Typical Installation (the default selection) and click on Next.
  8. The Installer will now prompt for the installation directory: in the Destination folder line change the c: directory to your M: drive letter (usually m:).


  9. Accept the next dialog box as-is and click on Install. The Installer will install SWI-Prolog to your system.


  10. During installation, the installer might output an error message ("Could not write registry to register filetypes..."), in which you should just click OK.



    When the installation is complete, click on Finished to close the installer and complete the installation.


  11. The installer will now ask if you would like to view the Readme file. Click on Yes if you wish to view the readme andon No if otherwise. The Readme file is also available via the Help menu within SWI-Prolog or in the following path: M:\Program Files\pl\doc\windows.html.

No comments:

Post a Comment