Recent

Author Topic: Installation of Components after Update  (Read 4205 times)

CharlyTango

  • New Member
  • *
  • Posts: 46
Installation of Components after Update
« on: February 25, 2016, 09:10:40 am »
Hi,

I'm currently moving from Delphi to Lazarus and assume the easy installation of a new version of Lazarus (compared to Delphi) one of the biggest assets.

But when it comes to compilation and installation of all needed components (zeos, lazreport and a lot of others...) the hard way of manual installation one by one begins.

Q: Is there a better and quicker way of easier or automatic installation of needed components?

What is your preferred method of staying up to date ?

Thanks in advance
Lazarus stable, Win32/64

mig-31

  • Sr. Member
  • ****
  • Posts: 305
Re: Installation of Components after Update
« Reply #1 on: February 25, 2016, 09:39:06 am »
Hi,

you cam select all components required to install and  install its by one click on SaveandRebuilt IDE button.
Lazarus 2.2.6 - OpenSuse Leap 15.4, Mageia 8, CentOS 7

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Installation of Components after Update
« Reply #2 on: February 25, 2016, 10:29:26 am »
1) This is how I do it if the component packages are not already part of "Install/Uninstall Packages". If that were so you just need to do what mig-31 said above

a) open and compile the package file
b) click on Use on the toolbar and then select Install
c) When it asks if you want to rebuild the Lazarus IDE, click on No
d) Repeat steps (a) to (b) until ALL the packages are prepared for installation
e) then rebuild the Lazarus IDE

Once I have a stable installation, I backup the lazarus folder in my C:\Users\MI\AppData\Local directory. I use this folder as a template to replace the folder created by any new installation or updates of Lazarus I make on Windows or Linux (paying attention to filepaths & delimiters - of course).

After replacing the freshly created folder with my backup, I just start Lazarus & rebuild the IDE. So ALL my components are available in one stroke!

Saves me loads of time.

JD
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Installation of Components after Update
« Reply #3 on: February 25, 2016, 11:02:23 am »
Q: Is there a better and quicker way of easier or automatic installation of needed components?

What is your preferred method of staying up to date ?

When you update for new Lazarus version, the local configuration it kept and simply rebuilding Lazarus should be enough.
You can see the list of to-be-installed packages in Tools -> Install/Uninstall Packages.

The packages that come with Lazarus distribution, like LazReport, are obviously updated at the same go.
External packages like Zeos require an extra download step if you want their latest versions.
A future online package manager will help with that.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Installation of Components after Update
« Reply #4 on: February 25, 2016, 11:08:24 am »
A future online package manager will help with that.

That is wonderful news. I'll be looking forward to that.

JD
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

 

TinyPortal © 2005-2018