Did you know ... | Search Documentation: |
New config file structure |
Starting with SWI-Prolog 8.1.15, the locations for finding personal configuration files and storing extensions (packs) has changed to statisfy the free desktop standards (XDG) and reach at a common structure for all platforms.
Now, everything except for packs is installed in a directory
swi-prolog
below a base directory for configuration files depending
on the OS. Packs are install in a directory swi-prolog
below a base
directory for data files. The base directories are:
In the config directory we find:
In the data directory we find:
The system prints a warning on startup if the old init file
(~/.swiplrc
or `<appdata>\swipl.ini`) was found and there is no
init.pl
in the new location, pointing at this page.
If you use multiple versions we suggest to create the new hierarchy and make symbolic links from the old locations. Windows users should either make copies or create a file at the old location that loads the data from the new location.