Recent

Author Topic: Lazarus versions...  (Read 913 times)

440bx

  • Hero Member
  • *****
  • Posts: 4982
Lazarus versions...
« on: January 26, 2025, 05:00:24 am »
Hello,

I have more than one question...

The first one is: when going to Sourceforge, there is a Lazarus version 3.8 but, the green button to download the latest version, downloads version 3.6.  question is, why doesn't that button download v3.8 ?  (is the button simply wrong ?)

The second question is: I currently have nine (9) Lazarus/FPC installations (most are of different versions), all except the first one done with FPCUPDELUXE.  I figured I'd try v4.0RC2 and also install v3.8 but, FPCUPDELUXE does not offer either one at this time.    As a result I downloaded the installation files for v4.0RC2 and v3.8, the question is, if I tell both installers to install an "additional" copy, is that good enough to ensure my current installations of previous versions are not affected or are there some possible gotchas I should watch out for ?

Thank you for your help.

ETA:

I realized after posting that this post should have probably been in the "installation" section not the "General" section.
« Last Edit: January 26, 2025, 05:03:19 am by 440bx »
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

TRon

  • Hero Member
  • *****
  • Posts: 3925
Re: Lazarus versions...
« Reply #1 on: January 26, 2025, 05:06:56 am »
Have you already tried this suggestion from Don ?
I do not have to remember anything anymore thanks to total-recall.

440bx

  • Hero Member
  • *****
  • Posts: 4982
Re: Lazarus versions...
« Reply #2 on: January 26, 2025, 05:50:20 am »
Have you already tried this suggestion from Don ?
I had not seen that.  Thank you for pointing it out.  That would take care of v3.8.

I'm not sure what "magic" lines need to be added to download v4.0RC2, I'll ask DonAlfredo for suggestions in that thread.

Thanks again.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

dsiders

  • Hero Member
  • *****
  • Posts: 1336
Re: Lazarus versions...
« Reply #3 on: January 26, 2025, 05:58:59 am »
The first one is: when going to Sourceforge, there is a Lazarus version 3.8 but, the green button to download the latest version, downloads version 3.6.  question is, why doesn't that button download v3.8 ?  (is the button simply wrong ?)

I just tried the page at: https://sourceforge.net/projects/lazarus/. Is that the URL you're using?
It links to 3.8 here... but it's the Darwin build by default?!?
Others are available on the Files tab.
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

TRon

  • Hero Member
  • *****
  • Posts: 3925
Re: Lazarus versions...
« Reply #4 on: January 26, 2025, 06:02:15 am »
I'm not sure what "magic" lines need to be added to download v4.0RC2, I'll ask DonAlfredo for suggestions in that thread.
C'mon, apply a little imagination there  ;D

Code: [Select]
[ALIASlazTAG]
stable.gitlab=lazarus_3_6
; 4.0.gitlab=lazarus_4_0
4.0rc2.gitlab=lazarus_4_0RC2
3.8.gitlab=lazarus_3_8

If you head over to the lazarus sources at gitlab here and press on the main 'button' directly located under the Lazarus title a dropbox will list all valid 'tags' such as f.e. "lazarus_4_0RC2". That is the part after the equal sign. The part before the equal sign and before the dot (lets name it displayname) must end with dot gitlab (as it is used for filtering inside fpcupdeluxe) and the displayname before can be anything you like. so f.e. myfancylazarusv4.gitlab=lazarus_4_0RC2 would also be ok (although I am not sure if the displayname is truncated)

Happy fpcupdeluxin'  :)
« Last Edit: January 26, 2025, 06:26:36 am by TRon »
I do not have to remember anything anymore thanks to total-recall.

TRon

  • Hero Member
  • *****
  • Posts: 3925
Re: Lazarus versions...
« Reply #5 on: January 26, 2025, 06:11:51 am »
It links to 3.8 here... but it's the Darwin build by default?!?
Yeah. Probably the latest upload done or something like that. Indeed clicking the files list all the platforms so it can be selected manually.
I do not have to remember anything anymore thanks to total-recall.

440bx

  • Hero Member
  • *****
  • Posts: 4982
Re: Lazarus versions...
« Reply #6 on: January 26, 2025, 06:56:57 am »
The first one is: when going to Sourceforge, there is a Lazarus version 3.8 but, the green button to download the latest version, downloads version 3.6.  question is, why doesn't that button download v3.8 ?  (is the button simply wrong ?)

I just tried the page at: https://sourceforge.net/projects/lazarus/. Is that the URL you're using?
It links to 3.8 here... but it's the Darwin build by default?!?
Others are available on the Files tab.
No, the page I was looking at is this one: https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Lazarus%204.0RC2/




I'm not sure what "magic" lines need to be added to download v4.0RC2, I'll ask DonAlfredo for suggestions in that thread.
C'mon, apply a little imagination there  ;D

Code: [Select]
[ALIASlazTAG]
stable.gitlab=lazarus_3_6
; 4.0.gitlab=lazarus_4_0
4.0rc2.gitlab=lazarus_4_0RC2
3.8.gitlab=lazarus_3_8

If you head over to the lazarus sources at gitlab here and press on the main 'button' directly located under the Lazarus title a dropbox will list all valid 'tags' such as f.e. "lazarus_4_0RC2". That is the part after the equal sign. The part before the equal sign and before the dot (lets name it displayname) must end with dot gitlab (as it is used for filtering inside fpcupdeluxe) and the displayname before can be anything you like. so f.e. myfancylazarusv4.gitlab=lazarus_4_0RC2 would also be ok (although I am not sure if the displayname is truncated)

Happy fpcupdeluxin'  :)
I admit that I have limited myself to using FPCUPDELUXE without really knowing how it does its "thing".  IOW, I don't even know if Lazarus is in gitlab, sourceforge or the space station.  Because of that, I figured I'd ask those who know. :) 
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

TRon

  • Hero Member
  • *****
  • Posts: 3925
Re: Lazarus versions...
« Reply #7 on: January 26, 2025, 07:05:53 am »
I admit that I have limited myself to using FPCUPDELUXE without really knowing how it does its "thing".
No problem, I get it.

I did not know this solution either until Don posted it. I used the setup+ and entering a gitlab tag manually. This solution shows it neatly in the startup-window of FPCUpdeluxe.

Don would probably say the same but this advise is without any guarantees whatsoever. If it works, it works if not then so be it.

PS: I forgot to mention that the startup experience with the FPCDeluxe installed version of Lazarus 4.0 is a tad different then that with Lazarus installed from a official distributed package. Lazarus by default will now install the dockedformeditor and anchordesign packages (FPCUpDeluxe does not). It is an option so it will not be shoved into your face but it does becomes an option at first startup and in the Lazarus configuration settings. FPCUpDeluxe version does not do this but will if you install these two packages manually and rebuild the IDE in which case on startup the IDE will popup with the image as posted.
« Last Edit: January 26, 2025, 07:28:36 am by TRon »
I do not have to remember anything anymore thanks to total-recall.

Hansvb

  • Hero Member
  • *****
  • Posts: 727
Re: Lazarus versions...
« Reply #8 on: January 26, 2025, 08:32:11 am »
I have installed several Lazarus versions without fpcupdelux. I do that as follows. Download the installation file. First, create a directory in which I want to install. Then start the installation, make sure you indicate that it is a second installation. Stop for a moment at the screen that asks where the config should be written. Go to your created directory and create a new directory "config" within it and give that new config directory to the installer. That works fine for me. All versions are separate from each other.
if you create the config folder too early, the installer will nag that the installation folder is already in use.

An additional advantage of this way is that you can pick up the entire installation folder and put it on another PC. For example, I put Lazarus on my work PC on which I am not allowed to install anything and this works.


440bx

  • Hero Member
  • *****
  • Posts: 4982
Re: Lazarus versions...
« Reply #9 on: January 26, 2025, 08:41:59 am »
@TRon and @Hansvb,

Thank you both for the additional information.   This all good and useful to know.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

dsiders

  • Hero Member
  • *****
  • Posts: 1336
Re: Lazarus versions...
« Reply #10 on: January 26, 2025, 10:24:34 am »
The first one is: when going to Sourceforge, there is a Lazarus version 3.8 but, the green button to download the latest version, downloads version 3.6.  question is, why doesn't that button download v3.8 ?  (is the button simply wrong ?)

I just tried the page at: https://sourceforge.net/projects/lazarus/. Is that the URL you're using?
It links to 3.8 here... but it's the Darwin build by default?!?
Others are available on the Files tab.
No, the page I was looking at is this one: https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Lazarus%204.0RC2/

Perhaps I'm being dense... but I don't know. For me, The URL shows the attached. The 4.0RC2 files are on screen. The Green button says 3.8 (the last release)  even though it's  for Darwin.

Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

440bx

  • Hero Member
  • *****
  • Posts: 4982
Re: Lazarus versions...
« Reply #11 on: January 26, 2025, 10:46:43 am »
Perhaps I'm being dense... but I don't know. For me, The URL shows the attached. The 4.0RC2 files are on screen. The Green button says 3.8 (the last release)  even though it's  for Darwin.
No, you are not being dense.  The button changed between the time I answered your question about the version and your last post.   I am certain because I looked at that button multiple times and, it said 3.6 until _very recently_ and, not only that, I looked at the little window that shows the full path of what will be downloaded by pressing the button and, the full path was that of v3.6, now it shows the path to v3.8 (as it should.)

Anyway, it's nice that now it really is for the true current version ( v3.8 ).
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10786
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus versions...
« Reply #12 on: January 26, 2025, 10:52:07 am »
On Windows, the installer option "Secondary Installation" is (usually) enough.

You may get changes to which Lazarus is called when you double click in the explorer. Because file associations consists of 2 part. Setting the file to an entry. Setting an exe to the entry.
Even if you don't select them during install, if files are already associated, the installer may change the path to the exe. (not sure / never tested / but it gives a warning)

IIRC the installer creates a separate uninstall entry (but again that is from memory) in the list you get when you look at installed software...


Otherwise, Lazarus itself only needs it config folder => that is definitely separate. So no site effects there.


As for the fpc install => Each fpc installed by the installer is local to its folder. No global files at all.
So that is fine too.
Well, if you somehow (not sure if possible on Windows) did a global install, and if that has a global fpc.cfg (again never done by the Lazarus installer) then I am not sure if the fpc in the Lazarus local folder may find that global conf.

On Linux the Fpc installer is global, so you always have that issue.... But not in Windows

440bx

  • Hero Member
  • *****
  • Posts: 4982
Re: Lazarus versions...
« Reply #13 on: January 26, 2025, 11:35:00 am »
The additional information is reassuring. Thank you Martin. 
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

 

TinyPortal © 2005-2018