Difference between revisions of "DualLaz"

From Free Pascal wiki
Jump to navigationJump to search
m
Line 15: Line 15:
  
 
  #!/bin/sh
 
  #!/bin/sh
  /home/jo/development/lazarus/startlazarus --primary-config-path=~/.lazarus1st
+
  /home/you/development/lazarus/startlazarus --primary-config-path=~/.lazarus1st
  
 
and
 
and
  
 
  #!/bin/sh
 
  #!/bin/sh
  /home/jo/development/lazarus/startlazarus --primary-config-path=~/.lazarus2nd
+
  /home/you/development/lazarus/startlazarus --primary-config-path=~/.lazarus2nd
  
 
respectively.
 
respectively.

Revision as of 18:42, 19 February 2015

Two simultaneous Lazarus copies operational in Linux 64 bit

Typically, you have a primary install via fpcUP in ~/development.
But you also want a secondary test version in /workdir/LazB independently, possibly for release testing of Lazarus ver. 1.4

Here is a run-through to achieve that. Let's assume:

  • We use the Linux distro: mint 17.1 KDE 64 bit of 2015 (Kubuntu should work too, I guess)
  • primary Lazarus resides in ~/development installed via fpcUP
  • no other Lazarus installed via debian or whatever, which could interfere somehow


In ~ create two shell scripts : runL1.sh and runL2.sh containing

#!/bin/sh
/home/you/development/lazarus/startlazarus --primary-config-path=~/.lazarus1st

and

#!/bin/sh
/home/you/development/lazarus/startlazarus --primary-config-path=~/.lazarus2nd

respectively.