Recent

Author Topic: Auto transfer of existing packages with each new Laz install  (Read 966 times)

Ten_Mile_Hike

  • Jr. Member
  • **
  • Posts: 88
Auto transfer of existing packages with each new Laz install
« on: February 28, 2024, 09:56:40 pm »
Hello,
I have several packages that I keep installed in Lazarus. Is there a
way to retain and automatically install these packages when installing
a new version of Lazarus so I don't have to manually install them
every time that I upgrade?

Thank You
When any government, or any church for that matter, undertakes to say to its subjects, This you may not read, this you
must not see, this you are forbidden to know, the end result is tyranny and oppression no matter how holy the motives.

Robert A. Heinlein

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10564
  • Debugger - SynEdit - and more
    • wiki
Re: Auto transfer of existing packages with each new Laz install
« Reply #1 on: February 28, 2024, 10:34:32 pm »
The new IDE should actually know the list of those packages. 

All you need to do is to go once to the menu: Tools > Build Lazarus with profile ....

And then when the IDE restarts they should be all there.

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2269
  • Fifty shades of code.
    • Delphi & FreePascal
Re: Auto transfer of existing packages with each new Laz install
« Reply #2 on: February 28, 2024, 11:02:36 pm »
My experience with FpUp(deluxe) is very good on that matter, I do update like once every 2 week and never had issues (as long no problematic package conflicts are found, ie: if you can rebuild IDE without problems, than updating is no problem)
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

n7800

  • Full Member
  • ***
  • Posts: 175
Re: Auto transfer of existing packages with each new Laz install
« Reply #3 on: February 29, 2024, 08:04:25 pm »
The new IDE should actually know the list of those packages. 

All you need to do is to go once to the menu: Tools > Build Lazarus with profile ....

And then when the IDE restarts they should be all there.

If rebuilding doesn't help, then you're probably using a different configuration directory (if you checked the "Secondary installation" checkbox during installation).

Then you can use the "Import" and "Export" buttons in the "Install/Uninstall Packages" window. They will allow you to save a list of installed packages in the old IDE, and restore them in the new one (or copy them to another IDE).

However, if I remember correctly, these buttons do not support the list from the "Online Package Manager".

 

TinyPortal © 2005-2018