Is Lazarus still serious ? lazarus / 1-Linux ---------------------------------------------------------------------- dryzone · 2025-07-13 19:03 Been developing with Lazarus and free pascal for very long and been using linux for 27 years. Wrote papers based on results obtained, several general purpose applications  with it and it was always rock solid and very happy with it. Recently I had to look at older applications I developed with Lazarus and found the installation of Lazarus to have become a royal abomination just to get installed. It seems that whoever cared about packaging and testing  a usable distribution for release  left. Absolutely horrible. 1) The apt version is just downrightly an abomination. Fair, that is not only you fault, but also partly the distro packager. Its missing obvious units and what not. Installing every available apt lazarus* wildcart does not solve the problem so nothing in the apt repository constitutes a complete working Lazarus installation Totally unusable abomination to what was the case a few years ago. That apt abomination put aside. 2) Then installing directly from the Lazarus Website, you need to install three debs azarus-project_4.0.0-0_amd64.deb    2025-05-04    156.8 MB 320 fpc-src_3.2.2-210709_amd64.deb    2025-05-04    30.6 MB 269 fpc-laz_3.2.2-210709_amd64.deb    2025-05-04    39.3 MB 288 README.md Did so and read the README. Whatever I do after reading the "goREADME",  installation of lazarus project clashed with the source. e.g. "lazarus-project conflicts with lazarus-src   lazarus-src-2.2 provides lazarus-src and is present and installed." Same the other way round. You have one of two options removing a source installation component or removing a lazarus-project component. Trying both and trying to compile after installation gives the following trouble. Then trying to compile a KNOWN WORKING program, I get Fatal: (10022) Can't find unit interfaces While interfaces are clearly  present /usr/lib/lazarus/2.2.6/lcl/interfaces/cocoa/interfaces.pas /usr/lib/lazarus/2.2.6/lcl/interfaces/customdrawn/interfaces.pas /usr/lib/lazarus/2.2.6/lcl/interfaces/gtk2/interfaces.pas I mean really ??? In adition it cannot find the graph unit.. Go figure how to develop an interface without these. The only solution is to tediously do  the -Fu [sic] switch solution. So I have to physically add every unti I want to use to the compiler e.g. fpc -S2 -Sh -Fu/usr/lib/lazarus/2.2.6/lcl -Fu/usr/lib/lazarus/2.2.6/lcl/interfaces -Fu/usr/lib/lazarus/2.2.6/lcl/interfaces/gtk2 -Fu/usr/lib/lazarus/2.2.6/lcl/units/x86_64-linux -Fu/usr/lib/lazarus/2.2.6/lcl/units/x86_64-linux/gtk2 -Fi/usr/lib/lazarus/2.2.6/lcl/units/x86_64-linux   ......  and so on. Forcryingoutloud! I have given up adding units and the compile "Fu" is running of the page. So why do you release crap like this ? ---------------------------------------------------------------------- ALLIGATOR · 2025-07-13 19:33 Here is the solution: https://make-everything-ok.com ---------------------------------------------------------------------- marcov · 2025-07-13 19:36 As you already said, integrating packages is a distro's job. We do the best I can, but the infrastructure on *nix is geared to a lot of per distro duplicate work for integrating packages. If you have a problem with it, ditch Linux and use e.g. Windows. ---------------------------------------------------------------------- cdbc · 2025-07-13 19:37 Hi Here on PCLinuxOS, installed from our repo - fpc 3.2.2 & laz 4.0 + libqt5pas Works like a dream out of the box! Regards Benny ---------------------------------------------------------------------- dryzone · 2025-07-13 19:48 Quote from: ALLIGATOR on July 13, 2025, 09:33:31 pmHere is the solution: https://make-everything-ok.com Here is the response -Fu ---------------------------------------------------------------------- dryzone · 2025-07-13 19:58 Quote from: cdbc on July 13, 2025, 09:37:22 pmHi Here on PCLinuxOS, installed from our repo - fpc 3.2.2 & laz 4.0 + libqt5pas Works like a dream out of the box! Regards Benny Good to know thanks. At least someone cared in that case. I might just move to PCLinux in the future since it is SystemD-free, which solves a lot of problems. I am currently using MX which places fake systemd files to make programs relying on systemD to work, without systemD even installed. But, MX's quality control became pretty bad during the last two releases (the Lazarus apt package e.g. and many more non-working). Thanks for the heads up, ---------------------------------------------------------------------- dryzone · 2025-07-13 20:03 Quote from: cdbc on July 13, 2025, 09:37:22 pmHi Here on PCLinuxOS, installed from our repo - fpc 3.2.2 & laz 4.0 + libqt5pas Works like a dream out of the box! Regards Benny Ditching Linux just because lazarus is broken is really  the tail wagging the dog. I prefer to address the culprit. Which in this case seems definitely to be Lazarus QC.  From my post, I clearly show units are installed, compiler though cannot to find its own units. What I did not include in the original post, was the paths lazarus uses. The units were in the path, yet lazarus cannot find it. -Fu is really not a long term solution just to compile my programs, but that is all I have currently with the broken Lazarus. ---------------------------------------------------------------------- Curt Carpenter · 2025-07-13 20:27 Did you try fpcupdeluxe?  I don't upgrade my fpc & lazarus on my Ubuntu box very often, but it's worked flawlessly the for me last few times, and I'd give it a solid "10/10." ---------------------------------------------------------------------- dryzone · 2025-07-13 20:32 Quote from: Curt Carpenter on July 13, 2025, 10:27:40 pmDid you try fpcupdeluxe?  I don't upgrade my fpc & lazarus on my Ubuntu box very often, but it's worked flawlessly the for me last few times, and I'd give it a solid "10/10."  Thank you very much for the response. I am sure going to give it a try. Seems like it was created for exactly the reason I am having trouble. I will see if it works. ---------------------------------------------------------------------- CharlyTango · 2025-07-13 20:45 Of course you're the greatest. You're the man. Is that enough recognition now? Something's going wrong with you, you're upset. Now you're looking for someone to blame, but even if the reason isn't you, that's no reason for bad behaviour. And that's exactly why you get answers like this. Go to the gym and work out -- and then politely ask for support. And please don't do it with strange, incomprehensible accusations, but with facts. Because everyone here does this voluntarily and free of charge -- and nobody has to put up with this kind of behaviour ---------------------------------------------------------------------- dryzone · 2025-07-13 21:08 Thank you for the compliments. Always Appreciated. Free of charge does not mean you should be lazy or lacky or slack with QC. Either you are serious about your work or stop doing it. Free or not ---------------------------------------------------------------------- cdbc · 2025-07-13 21:37 Hi ...again  Quote-Fu is really not a long term solution just to compile my programs, but that is all I have currently with the broken Lazarus.Hmmm... When in a bind, I sometimes /lift/ the root restrictions put on lazarus by the linux-system, just in the _short_ period of time, it takes me to recompile lazarus and then restore them afterwards... Warning: Here Be Dragons! My laz is placed in "/usr/lib64/lazarus/", that means: - before recompile do as root, cd /usr/lib64/ -> chmod -R 777 lazarus -> exit - recompile lazarus, install new components etc. - after recompile do as root, cd /usr/lib64/ -> chmod -R 655 lazarus -> exit - - - Do not keep lazarus as root for very long - - - That might just help you carry on...  Regards Benny ---------------------------------------------------------------------- Martin_fr · 2025-07-13 21:45 @CharlyTango: Bit less aggressive please. @Dryzone: While your reported issue is certainly important and its appreciated that you come forward (rather than just turning your back), your tone/style is lacking some too. Even, after the experience you had. I hadn't answered before, because my part in the project is not including the Linux installer. So I don't know any helpful parts. But, as you yourself pointed out (if I read you correct), the apt installers aren't done by us. And since we are providing under a permissive licence, we can't stop anyone else to redistribute our work. If those redistributions have problems we can't do much about that part. So considering that Quote from: dryzone on July 13, 2025, 09:03:17 pm1) The apt version is just downrightly an abomination. Fair, that is not only you fault, but also partly the distro packager. Its missing obvious units and what not. Installing every available I don't see why "only partly", as I said, we can't stop others. And when written under a subject addressing the Fpc/Lazarus team, then that reads fairly aggressive (at least to me). So at that CharlyTango is not entirely wrong. As for the "3 packages". I don't know the background. But, I am fairly sure the subsequent issues you describe are most likely not caused by that. I.e. had we provided the exact same content in a single package, you would have gotten the same errors. And which one is more convenient... Well depends, if you do a new install or an upgrade. On the more important point: The errors you get, and that really should be solved by this thread. As I said, Linux isn't the part that I am involved with. But from reading similar post of others => Likely an issue with an old install. Either somewhere in the /usr/___ folders (different fpc or Lazarus version), or in you home folder ~/.lazarus which may contain left overs from an old version. Sometime (not always) a clean rebuild (tools menu > configure build lazarus) helps. But I can't promise that. The can't find unit error may be misleading. You get that, if an old version was found which isn't compatible. I agree those things shouldn't go wrong... Unfortunately I can't further advice on how that could best be solved. With a project this size no single person in the team can't be involved in all parts of it at once. And I have my (more than big enough) chunk already. ---------------------------------------------------------------------- dryzone · 2025-07-13 22:27 Quote from: Curt Carpenter on July 13, 2025, 10:27:40 pmDid you try fpcupdeluxe?  I don't upgrade my fpc & lazarus on my Ubuntu box very often, but it's worked flawlessly the for me last few times, and I'd give it a solid "10/10."  It does not seem to do system wide installations and tries to install in /root/fpcup.... Can you remember if system-wide installation is possible which uses the same /usr/bin etc for execution. I will go read up, but maybe you know ? ---------------------------------------------------------------------- JuhaManninen · 2025-07-13 22:33 Quote from: dryzone on July 13, 2025, 09:03:17 pme.g. "lazarus-project conflicts with lazarus-src   lazarus-src-2.2 provides lazarus-src and is present and installed." Lazarus-src package is not from our project. I guess you are mixing distro packages with packages provided by Lazarus project. It is not a good idea. ---------------------------------------------------------------------- Curt Carpenter · 2025-07-13 22:42 No, sorry:  I'm not knowledgeable enough to know.  Good people here that can give you an authoritative answer though so let me back out for them. ---------------------------------------------------------------------- dryzone · 2025-07-13 22:49 Quote from: JuhaManninen on July 14, 2025, 12:33:11 amQuote from: dryzone on July 13, 2025, 09:03:17 pme.g. "lazarus-project conflicts with lazarus-src   lazarus-src-2.2 provides lazarus-src and is present and installed." Lazarus-src package is not from our project. I guess you are mixing distro packages with packages provided by Lazarus project. It is not a good idea. Please consult your download page at Lazarus website "https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd6 4%20DEB/Lazarus%204.0/" AND then read the comment under the software links "You need to download and install all three packages fpc-laz, fpc-src and lazarus-project." Your comment seemingly contradict the instructions from the Lazarus download page ?! How can the source of the Lazarus code not belong to Lazarus ?  . Fine the download page list fpc-source, but this raises an even more absurd issue about lazarus-source. Why is it not allowed to have the lazarus source and lazarus-project installed at the same time? This utterly makes no sense and should be viewed as a serious packaging QC bug. I have never encountered an application that does not allow concurrent installation of the sources and the Lazarus-source seemingly clashes with the Lazarus-project code. Makes no sense.! What do you create Lazarus from if the Lazarus-source code is different from what is used in Lazarus-project ?  Makes no sense. ---------------------------------------------------------------------- Joanna · 2025-07-14 02:13 Have you considered using fefora Linux? ---------------------------------------------------------------------- dbannon · 2025-07-14 04:09 Quote from: dryzone on July 13, 2025, 09:03:17 pmBeen developing with Lazarus and free pascal for very long and been using linux for 27 years. Gee, 27 years, honestly, I'd expect you to have mastered configuration by now. Quote from: dryzone on July 13, 2025, 09:03:17 pm1) The apt version is just downrightly an abomination. Fair, that is not only you fault, but also partly the distro packager. Seems you understand the relationship with the distro packager, if so, why post about it here ? Debian have a great fault reporting process, everything gets looked at. I have mentioned that the way they, Debian, package, in distinct modules, causes user problems but they tell me it is what people want. If people like you told them of the problem it causes maybe they would reconsider ?  Certainly nothing can be done from here. Quote2) Then installing directly from the Lazarus Website, you need to install three debs .... Whatever I do after reading the "goREADME",  installation of lazarus project clashed with the source. e.g. "lazarus-project conflicts with lazarus-src  .... Yes, what you you expect ?  The message, from the apt system, is quite plain, you are applying a Lazarus install when you already have a differently structured Lazarus install in place. Going to put a new engine in your car, remove the old one first ! QuoteThen trying to compile a KNOWN WORKING program, I get ... All sorts of errors because you are mixing two incompatible versions. You need to completely remove the repo based install, all its files and config data. It quite possible that apt may not be able to do that now you have cross installed, so look for any evidence of left over stuff. And remove $HOME/.lazarus too. And /etc/fpc.cfg and, possibly $HOME/.fpc.cfg Then install your chosen model. I strongly suggest you install just FPC322 from the repo, use that to build the FPC324rc1 beta from source. Install that new FPC in user space, not root. Then build Lazarus 4.0 from source. Both builds done as you, the user and keep the results in user space (don't bother to 'install' lazarus, just run it from the built source directory). If you have been using Linux for 27 years, that should be a doddle. (remove, using apt, the FPC322 install when finished to avoid confusion).  Set your $PATH to point to the new FPC. This is all doc'ed on the wiki. If you cannot handle the above (and lots of people cannot), yes, use the official install debs from Source Forge. They will work OK if installed on a clean system, that is one with no residue of a previous, incompatible install. The one problem you might have is getting your fpc.cfg correct, FPC322 was not great, FPC324rc1 a heap better. But even with the old, FPC322 one, you, an experienced user, can edit it to what it should be easily. Davo ---------------------------------------------------------------------- dryzone · 2025-07-14 17:51 Thank you for your carefully wordsmythed response. Unfortunately you are reading into things that are not necessarily what is experienced or happening here and present solutions to invented problems. I could not explain everything in the short original text, so rightfully you are jumping at 700mph at conclusions. These errors happens with or without the apt installation which fails on its own also. I did remove all lazarus and fpc with dpkg --purge, but the problems remains the same when I install the version straight from the Lazarus site. Lazarus cannot find graph unit, And never will seemingly. Lazarus cannot find units in general although they are installed You have to feed EVERY needed unit with -Fu switch. and so on. This has been verified with and without the apt distribution. So there. You read into things and conflate things, but I understand why you need to do that. Quite frankly if a n application cannot find it's own units when they are in the path and installed, then I honestly dont know if it is at all serious about QC. At least TEST what is released. Users can only test so far. We did not write the software. I did not really ask for help at all. I am fully capable to sort this out except for that abomination with Lazarus not being able to find it's own units, while they are present and installed and Lazarus use paths where  they reside. My question is why there seems to be such a huge lack of QC compared to previous years. 2017 seems to be the last year Lazarus installs without issues on the Distros I use and the installation process have been degrading ever since to the point that it now becomes absolutely useless on Debian/MX even if installed from Lazarus site. ---------------------------------------------------------------------- Martin_fr · 2025-07-14 18:45 -Fu should not be the solution. It is likely to add more new issues than fixing existing... 1) Ensure you have cleared your config   ~/.lazarus Back it up, and clear/remove the folder. The next start Lazarus should display the "setup dialog" letting you confirm the various paths to fpc and sources.... - Ensure there are no warnings. - take a screen shot, and post here 2) Compile a project (start with a new empty app) Save it before compiling. So it wont be in your tmp folder. That way we don't need to worry what leftovers could be in the tmp folder. Save it to a new empty folder. when you get the errors, right click the error window. Select  Copy > Copy all and original messages Post those messages here. ---------------------------------------------------------------------- dryzone · 2025-07-14 21:54 Quote from: Martin_fr on July 14, 2025, 08:45:48 pm-Fu should not be the solution. It is likely to add more new issues than fixing existing... 1) Ensure you have cleared your config   ~/.lazarus Back it up, and clear/remove the folder. etc Thank you I will do as you suggest. ---------------------------------------------------------------------- JuhaManninen · 2025-07-14 23:11 Quote from: dryzone on July 14, 2025, 12:49:59 amQuote from: JuhaManninen on July 14, 2025, 12:33:11 amQuote from: dryzone on July 13, 2025, 09:03:17 pme.g. "lazarus-project conflicts with lazarus-src   lazarus-src-2.2 provides lazarus-src and is present and installed." Lazarus-src package is not from our project. I guess you are mixing distro packages with packages provided by Lazarus project. It is not a good idea. Please consult your download page at Lazarus website "https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd6 4%20DEB/Lazarus%204.0/" AND then read the comment under the software links "You need to download and install all three packages fpc-laz, fpc-src and lazarus-project." Your comment seemingly contradict the instructions from the Lazarus download page ?! How does it contradict? There is no package named Lazarus-src there, as you just quoted yourself. ---------------------------------------------------------------------- dbannon · 2025-07-14 23:50 Pretty much repeating myself ... Quote from: dryzone on July 14, 2025, 07:51:08 pmUnfortunately you are reading into things that are not necessarily what is experienced or happening here and present solutions to invented problems. The error message you showed us, from the apt system, was definitely the one you get when you install multiple, incompatible, Lazarus. The most likely problem that leads to is an incorrect fpc.cfg file. FPC uses that file to find all the units it needs. If you use a fpc.cfg that points to units that no longer exit you get a situation you may choose to fix usig -Fu.  However the proper way to fix it is to either edit or replace the incorrect fpc.cfg. Have you looked at what your in-use fpc.cfg says in its -Fu lines ? See if there are units in the location mentioned ? Again, as I said, FPC324rc1 has a much smarter fpc.cfg. But all versions of FPC have a tool to make a new one (but be warned, 'stray' fpc.cfg file will still break things.) QuoteI did remove all lazarus and fpc with dpkg --purge, but the problems remains the same when I install the version straight from the Lazarus site. And I did tell you that installing incompatible FPC/Lazarus may  break apt's ability to remove all installed files. QuoteLazarus cannot find graph unit, And never will seemingly. Nor will it find many other units until you get your fpc.cfg sorted out. QuoteYou have to feed EVERY needed unit with -Fu switch. Sigh... no you do not. You need to get your fpc.cfg sorted. QuoteQuite frankly if a n application cannot find it's own units when they are in the path and installed, then I honestly dont know if it is at all serious about QC. Do you mean "if a mis-configured application cannot find it's own units ..."  ?  Davo EDIT : if you want to know which fpc.cfg you are using, please try the following (and which fpc too) : Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i dbannon@dell:$> which fpc/home/dbannon/bin/FPC/fpc-3.2.4/bin/fpc dbannon@dell:$> fpc -vhHint: Start of reading config file /home/dbannon/.fpc.cfgHint: End of reading config file /home/dbannon/.fpc.cfgFree Pascal Compiler version 3.2.4-rc1 [2024/07/22] for x86_64Copyright (c) 1993-2024 by Florian Klaempfl and othersFatal: No source file name in command lineFatal: Compilation abortedError: /home/dbannon/bin/FPC/fpc-3.2.4/bin/ppcx64 returned an error exitcode dbannon@dell:$> find / -name fpc.cfg 2>/dev/null/home/dbannon/bin/FPC/fpc- cc/etc/fpc.cfg/home/dbannon/bin/FPC/fpc-main/etc/fpc.cfg/home/dbannon/ bin/FPC/fpc-3.2.4/etc/fpc.cfg/home/dbannon/Pico2/fpc/bin/x86_64- linux/fpc.cfg/home/dbannon/Pico/fpc/bin/x86_64-linux/fpc.cfg You see, in my case, I'm using ~/.fpc.cfg but there are several more there in various installs. Watch in particular for ones in /etc/ Also note that the fpc.cfg I am using does not show upon that "find" because its called .fpc.cfg - living, as it does in my home dir. Davo ---------------------------------------------------------------------- Thaddy · 2025-07-15 07:22 The one in /etc/fpc.cfg is the only correct one.... unless you run Lazarus/fpc compiled with fpcupdeluxe. Be careful mutilating that one. It is better to replace any other fpc.cfg with symlinks to /etc/fpc.cfg. That is: unless you want a custom one explicitly. You can configure /etc/fpc.cfg for any sub-target or target from a single config file. That is how it is intended to work. ---------------------------------------------------------------------- dbannon · 2025-07-15 12:52 Quote from: Thaddy on July 15, 2025, 09:22:05 amThe one in /etc/fpc.cfg is the only correct one.... unless you run Lazarus/fpc compiled with fpcupdeluxe. There is no single "correct one". FPC looks in a number of places, the current working dir, $HOME, /etc/ - there is a use case for each and each location can do the job well. Whats important is the content of the cfg file in use. And any location can contain good or bad content. The FPC324rc1 makes a much better cfg file than does, eg, FPC322, use of the replaceable parameters makes it far more flexible. I use a hand edited version - I think initially created by either FPC324 or maybe main ? It does not mater, I understand its content. The problem with /etc/fpc.cfg is its put there by  deb or rpm installer and is read only without resorting to root. And if you have changed it,a deb --purge may not remove it. And its further complicated by the 'alternativeto system debian uses (and I hate). So, for me, $HOME is, generally, the right place. Davo ---------------------------------------------------------------------- CM630 · 2025-07-15 15:17 I do not think there is a tool for Linux, which is even close to Inno Setup. Is Linux still serious? But yes, installing/reinstalling Lazarus in Linux is hard, I wish there was a single .deb at least. ---------------------------------------------------------------------- Thaddy · 2025-07-15 15:39 Can you point me to the "hard" part? Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i # example recipe for linux64 debian flavors (includes Ubuntu and Mint)sudo suapt update # just once, install gitapt install git# just once, install build-essentialapt install build-essential# just once, install a bootstrap compilerapt install fp-compiler# just once, clone the sourcesgit clone https://gitlab.com/freepascal.org/fpc/source.git fpcmain# all the above is done once only. #afterwards update the repositorycd fpcmaingit pullmake clean all install PREFIX=/usr PP=/usr/bin/fpc/ppcx64-3.2.2 cp /usr/lib/fpc/3.3.1/ppcx64 /usr/bin# or symlink which is better for some#exit rootexit Now that is pretty easy isn't it? ---------------------------------------------------------------------- dbannon · 2025-07-16 03:57 Firstly Thaddy, it quite unnecessary to install FPC and Lazarus as root. It is a needless risk, not always possible and a messed up install is quite hard to clean up. By installing in user space, its easy to work with several versions and easy to remove unwanted installs. Having FPC outside your $PATH lets you add a particular PATH item as you wish. And the question was how to install, easily, Lazarus (although that implies FPC first of course). CM630, if you are installing FPC/Lazarus only occasionally, then, just follow the step by step instructions (eg on the Wiki). Its a bit tedious but certainly not hard. I find myself doing new installs (on VMs) quite often so scripted it and made prebuilt binaries to avoid the need to first install FPC322 to get FPC324. So my model on a new VM where I need to do some debuging is - Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i $> cd ~/Downloads$> wget https://raw.githubusercontent.com/davidbannon/FPC_L az_Install/refs/heads/main/fpc-tar.bash$> wget https://github.com/davi dbannon/FPC_Laz_Install/releases/download/v2.0/fpc-3-2-4rc1.tgz$> bash ./fpc-tar.bash -f 324rc1 -a -r$> source ~/.bashrc That will install the full FPC binary and source into user space, and set your PATH to find it. Followed by  (or, just this if you already have a working FPC) Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i >$ cd ~/Downloads>$ wget https://github.com/davidbannon/FPC_Laz_Install/raw/ refs/heads/main/make-lazarus.bash>$ bash ./make-lazarus.bash -r -f 4_0  -d That will download the indicated Lazarus source, build it and set up for you to use it (there, again in user space, Lazarus is a lot happier in user space ! ). Makes a config dir, points this Lazarus to it, creates a desktop file and a startup script. This model works for me. Its quick and easy, definitely not foolproof, probably only suited to someone who is comfortable with Linux. In this case, and every case,you should look over the scripts and ensure I am not planning anything nasty ! Do NOT compare this to fpcupdeluxe, this is, by comparison just a couple of dirty scripts !  https://github.com/davidbannon/FPC_Laz_Install/ I am really showing you how easy it to script yourself (but you are welcome to use mine if you want.) Davo ---------------------------------------------------------------------- ginoo · 2025-07-16 09:45 Can you answer a question I haven't been able to answer? Where do I set the location of fpc.cfg in a Lazarus installation (in my case, Linux)? I have an installation and would like to change the location of fpc.cfg. Where should it be set? Thanks. ---------------------------------------------------------------------- Martin_fr · 2025-07-16 11:04 Quote from: ginoo on July 16, 2025, 11:45:15 amCan you answer a question I haven't been able to answer? Where do I set the location of fpc.cfg in a Lazarus installation (in my case, Linux)? I have an installation and would like to change the location of fpc.cfg. Where should it be set? Thanks. Off, topic to the original question. So maybe - if there is more on it - open a new thread. I don't think you can. There isn't a dedicated setting for it. You have to tell FPC by passing custom argument to it (project options,  custom options). The only thing I could find https://www.freepascal.org/docs- html/user/userap1.html Using "@" to specify an additional fpc.cfg. But that does not replace the original? (Don't know) The alternative is what fpcupdeluxe afaik does: create a script that calls fpc with that argument, then use that script as your compiler. (it needs to pass on all arguments that it receives) ---------------------------------------------------------------------- ccrause · 2025-07-16 11:20 Quote from: Martin_fr on July 16, 2025, 01:04:08 pmQuote from: ginoo on July 16, 2025, 11:45:15 amCan you answer a question I haven't been able to answer? Where do I set the location of fpc.cfg in a Lazarus installation (in my case, Linux)? I have an installation and would like to change the location of fpc.cfg. Where should it be set? The only thing I could find https://www.freepascal.org/docs- html/user/userap1.html Using "@" to specify an additional fpc.cfg. But that does not replace the original? (Don't know) Use the -n compiler command line option to not read the default config file. ---------------------------------------------------------------------- ginoo · 2025-07-16 11:33 Quote from: Martin_fr on July 16, 2025, 01:04:08 pmQuote from: ginoo on July 16, 2025, 11:45:15 amCan you answer a question I haven't been able to answer? Where do I set the location of fpc.cfg in a Lazarus installation (in my case, Linux)? I have an installation and would like to change the location of fpc.cfg. Where should it be set? Thanks. Off, topic to the original question. So maybe - if there is more on it - open a new thread. I don't think you can. There isn't a dedicated setting for it. You have to tell FPC by passing custom argument to it (project options,  custom options). The only thing I could find https://www.freepascal.org/docs- html/user/userap1.html Using "@" to specify an additional fpc.cfg. But that does not replace the original? (Don't know) The alternative is what fpcupdeluxe afaik does: create a script that calls fpc with that argument, then use that script as your compiler. (it needs to pass on all arguments that it receives) I actually saw fpcupdeluxe and was wondering how to do it because it's sometimes useful. ---------------------------------------------------------------------- Thaddy · 2025-07-16 15:10 Yes it is very useful. A lesser known feature is that the website also contains build scripts for if you do not want to use fpcupdeluxe itself. ---------------------------------------------------------------------- ginoo · 2025-07-20 12:17 Quote from: Thaddy on July 16, 2025, 05:10:53 pmYes it is very useful. A lesser known feature is that the website also contains build scripts for if you do not want to use fpcupdeluxe itself. thanks I'll go and take a look ---------------------------------------------------------------------- MaxCuriosus · 2025-07-27 20:43 I'm late to the party but ... please take a look at my thread https://forum.lazarus.freepascal.org/index.php/topic,71873.0.html