no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Last revision | |||
— | installation:workspace [2014/11/24 16:11] – created admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Workspace setup ====== | ||
+ | It is recommended to add the following to your ~/.plrc file to get a global command history for the Prolog shell: | ||
+ | |||
+ | <code prolog> | ||
+ | rl_write_history :- | ||
+ | expand_file_name(" | ||
+ | rl_write_history(File). | ||
+ | | ||
+ | :- ( | ||
+ | current_prolog_flag(readline, | ||
+ | -> | ||
+ | expand_file_name(" | ||
+ | (exists_file(File) -> rl_read_history(File); | ||
+ | at_halt(rl_write_history) | ||
+ | ; | ||
+ | true | ||
+ | ). | ||
+ | </ | ||
+ | |||
+ | If you use Java code (which several KnowRob packages do), you may need to set the JAVA_HOME and SWI_HOME_DIR environment variables, e.g. by adding these lines to your ~/.bashrc file: | ||
+ | export JAVA_HOME=/ | ||
+ | export SWI_HOME_DIR=/ | ||
+ | |||
+ | You further need to add the Java directories to your LD_LIBRARY_PATH environment variable. Choose either of the following dependent on your system architecture: | ||
+ | <code bash> | ||
+ | # for amd_64 systems (64 bits): | ||
+ | export LD_LIBRARY_PATH=/ | ||
+ | |||
+ | # for i386 systems (32bits): | ||
+ | export LD_LIBRARY_PATH=/ | ||
+ | |||
+ | |||
+ | </ | ||