Recent

Author Topic: how to update from Lazarus 3.0 to 3.4  (Read 874 times)

rcmz

  • Full Member
  • ***
  • Posts: 137
how to update from Lazarus 3.0 to 3.4
« on: July 11, 2024, 11:18:32 pm »
hi,

how can I update from Lazarus 3.0 to 3.4 without the need to re-install components and configure the IDE.

TIA
Ramiro

jamie

  • Hero Member
  • *****
  • Posts: 6587
Re: how to update from Lazarus 3.0 to 3.4
« Reply #1 on: July 11, 2024, 11:48:51 pm »
Download the install and install it over the existing folder. (clean folder)

Your components are stored elsewhere.

When the install is complete, you get a standard IDE at startup and it may ask about debugger options.

At tis point, got to TOOLS:Rebuild The IDE. when this happens, your components will get installed.
The only true wisdom is knowing you know nothing

rcmz

  • Full Member
  • ***
  • Posts: 137
Re: how to update from Lazarus 3.0 to 3.4
« Reply #2 on: July 12, 2024, 12:44:16 am »
Thx,

Will give it a try,

do you recommend I make a backup before doing the instalation?

TIA
Ramiro

jamie

  • Hero Member
  • *****
  • Posts: 6587
Re: how to update from Lazarus 3.0 to 3.4
« Reply #3 on: July 12, 2024, 01:05:28 am »
Thx,

Will give it a try,

do you recommend I make a backup before doing the instalation?

TIA
Ramiro

Yes, make a backup first.

 Your components won't be visible until you rebuild the IDE. The same goes when you install another component, the IDE needs to be rebuilt.
The only true wisdom is knowing you know nothing

dbannon

  • Hero Member
  • *****
  • Posts: 3095
    • tomboy-ng, a rewrite of the classic Tomboy
Re: how to update from Lazarus 3.0 to 3.4
« Reply #4 on: July 12, 2024, 02:17:16 am »
This is what I did four days ago -

  • Downloaded the 3.4 source, unzip, cd into it. Built it with "make bigide". Don't skip this step.
  • Made a file, lazarus.cfg (in the lazarus dir) that points to the config you want to use. In my case, --pcp=/home/dbannon/bin/Lazarus/LazConfigs/lazarus_3_4  I made a new copy of the old config to allow me to still use the old install, but if you don't care about that, just point to the old install's config itself. 
  • Run "make useride" and lazarus will be rebuilt using all the old options and packages.
  • On first start, you will be asked to update the config, say YES.


------

If, unlike me, you just leave your config in the default place and don't want access to the old install anymore, its even easier. I have not tried it but expect it to work.

  • Download source, un zip and cd into it, run "make bigied"
  • Run "make useride"  (I am guessing useride will look in the default place for config)
  • Start lazarus and say yes when asked about updating config.


Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

rcmz

  • Full Member
  • ***
  • Posts: 137
Re: how to update from Lazarus 3.0 to 3.4
« Reply #5 on: July 15, 2024, 07:07:29 pm »
Thx,

I will try this option

ramiro

 

TinyPortal © 2005-2018