Recent

Author Topic: how to install packages on command line?  (Read 4401 times)

sainimu78

  • Full Member
  • ***
  • Posts: 117
how to install packages on command line?
« on: March 01, 2016, 05:14:14 pm »
I have many packages to install. so how to do it on command line?

These don't work now
1 ..\lazarus\bin32\lazbuild.exe --create-makefile ..\lazarus\components\pl_ZMSQL\pl_zmsql.lpk
2 ..\lazarus\fpc\3.0.0\bin\i386-win32\make.exe bigide INSTALL_PREFIX=D:\lazarus\

I have tried ..\lazarus\bin32\lazbuild.exe  --add-package ..\lazarus\components\pl_ZMSQL\pl_zmsql.lpk, it doesn't work.




I upload a .bat file. It is the build bat of codetyphon on lazarus 1.4.0 with many pl_*.lpk installed.
« Last Edit: March 01, 2016, 05:20:28 pm by sainimu78 »

kris

  • Jr. Member
  • **
  • Posts: 59
Re: how to install packages on command line?
« Reply #1 on: December 30, 2017, 03:07:08 pm »
On the this wiki: http://wiki.freepascal.org/Install_Packages

It says:

Quote
Compile an IDE with packages at command line
You can use lazbuild to compile and install your package, and add --build-ide to rebuild the IDE.

trying to make this work...

msch

  • New Member
  • *
  • Posts: 12
Re: how to install packages on command line?
« Reply #2 on: June 29, 2025, 09:05:16 am »
yes the topic is ancient as time, but maybe this could help someone too.

https://sourceforge.net/projects/lazarus-lpk-adder/   :)

MarkMLl

  • Hero Member
  • *****
  • Posts: 8453
Re: how to install packages on command line?
« Reply #3 on: June 29, 2025, 10:24:29 am »
See thread at https://forum.lazarus.freepascal.org/index.php/topic,67244.msg517062.html#msg517062 which includes a file makeall.zip or similar.

That's for Linux, but I'd expect the notes on lazbuild etc. to still eb applicable.

That's as much as I can say right now, I need to go out.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018