Talk:Multiple Lazarus

From Free Pascal wiki

at the moment it is very difficult to even set up all paths correctly just for the primary /home/you/development install, with everything pointing to ~/development... and nothing to some /usr/... stuff

it's clearly not enough to use --pcp

--Mai 17:05, 19 February 2015 (CET)

I made the following bash script and saved it as /usr/bin/lazarus-alt

 #  force creation of the new dir
 if [ ! -d $NEW_DIR ] 
    echo "Initializing Lazarus Alternative directory..."
    mkdir $NEW_DIR
    cp $LAZ_DIR/*  $NEW_DIR/
    if [ -d $LAZ_DIR/onlinepackager ]
      ln -s $LAZ_DIR/onlinepackager $NEW_DIR
 lazarus --primary-config-path=$NEW_DIR --skip-last-project

--AndrewH 20:53, 19 December 2019 (CET)

afaik "~/development" is not used by the official installer ( ) IIRC this is used by the getlazarus distribution? If so, then you need to ask them what changes they made. In *addition* to using --pcp you can run [start]lazarus --setup which brings up a dialog helping to set up all important paths for a given pcp. Also you will get more replies when discussing this on the forum or maillist. --User:Martin