* * *

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


  • 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 »


  • 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:

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...



Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus