Remove LCL package without starting Lazarus lazarus / 31-LCL ---------------------------------------------------------------------- LazyGuy · 2016-12-08 23:40 Hello, I had the problem to get an new installed package working (sqlite3laz 0.4). It wasn't possible to start Lazarus anymore. The problem with that component is solved, but I want to know what I can do in such cases. How can I remove LCL packages without starting Lazarus? Many thanks and greetings LazyGuy ---------------------------------------------------------------------- wp · 2016-12-09 00:09 When you rebuild Lazarus due to package installation the old version is saved as lazarus.old.exe. If the new version does not start delete it (lazarus.exe) and rename lazarus.old.exe back to lazarus.exe. ---------------------------------------------------------------------- molly · 2016-12-09 00:11 Unfortunately and sometimes a package installation makes lazarus fail starting up again. That is why lazarus keeps a backup copy of itself, so that you are able to revert. Just rename the backup into lazarus.exe and you should be good to go. edit cross post. apparently wp types faster ---------------------------------------------------------------------- Leledumbo · 2016-12-09 08:51 Even worse if you accidentally delete the backup as well, just `make all` and you're good to go. ---------------------------------------------------------------------- JuhaManninen · 2016-12-09 09:45 I was reading the Subject line a few times. I realize now that you want to remove sqlite3laz package, not LCL. Without LCL Lazarus IDE would not compile for sure. ---------------------------------------------------------------------- minesadorada · 2016-12-09 10:47 There's always lazbuild. Option for lazbuild command-line builder: --build-ide=     Compile the IDE (i.e. the Lazarus executable). The list of installation packages is read from the config directory. The are appended to the other IDE custom options. They can be empty. (With 0.9.30 and below the IDE profile custom options were replaced). Since at least Lazarus 1.0.6 (revision 38971): you can pass -dKeepInstalledPackages to build the IDE with the list of packages you had previously selected - analogous to make useride; handy when using --add-package. http://wiki.freepascal.org/lazbuild