HOME - - - - - Lazarus Tutorials TOC - - - - - - Other material for programmers
Delicious Save this on Delicious

Install or Update the Lazarus programing environment

Free. Multi-platform. Rather like Delphi. And very good!

On 14 Feb 17, I set about updating the Lazarus installation on my 64-bit Windows 7 machine. (The instructions here will also serve people wanting to install the IDE for the first time.)

I had been, and plan to continue, using the 32-bit version of Lazarus, so that things I create will run on "any" system. (This choice may be based on misunderstandings. But it is How I Did Things.) (I'm sure the 64-bit Lazarus can compile for 32-bit systems, but I don't want the hassle, or to maintain two versions of things I write.


I closed everything "Lazarus" that was running on the machine.

I went to the root of my C: drive, where I found two folders: "lazarus" and "lazarus32"

I made COPIES of each, naming them "lazarus-ver1-0 as at 2017feb-BU" and "lazarus32-ver1-0 as at 2017feb-BU". (Using those to revert to what I had if the update goes bad will probably be next to impossible, but having them at least gives me something I can try!

These SHOULD just be the Lazarus system files. I try to keep all of my work in a folder in "My Documents".

I left the original folders in place, in case the Lazarus installer is clever, and will pick up my old preference settings.

Went to the main Lazarus page. Clicked through to the downloads. Went for "Windows (32 and 64 Bits) Direct download", there being no option for just the 32-bit Lazarus. (If there even is such a beast!).. which started a big download of "lazarus-1.6.2-fpc-3.0.0-win32.exe"... the "win32" in that was... "music to my eyes"? What would the right expression be?

Once the file was downloaded, I moved it to where I keep such things. It was n .exe file. I ran it directly from my "store". It didn't need unzipping; was self-extracting.

Very promising start! Early in the install, it offered the option of a "parallel install". That's a dangerous business... probably NOT what you want, unless you are an expert. (In which case, I don't know what you will get from this "getting started" page, but if you spot any errors I'd be grateful to hear from you!)

It also proposed installing the software in C:lazarus32. I tend these days not to "fight" such things. Too often, it leads to tears. Note: If you are in the situation I was in, if you are installing over a previous installation, you too may be about to overwrite what you had. (That's why I took the copy!

I got a message I didn't know what to do with: It reported, after uninstalling the old instance, that C:\lazarus32 was not empty. (There was a folder called "Examples" left behind.) I elected to leave it there, and proceeded.

More Good Stuff! I was allowed to CHOOSE whether previous config files would be retained or wiped. I elected to wipe. You may not feel so inclined... it is a judgement thing.

Install completed without any worrying incidents.

The old C;\lazarus folder had very little in it, and none of the date-stamps had changed. I renamed it "lazarus-maybe scraps no longer needed Feb 17".

Fired up the new Lazarus to do a quick "Hello World"

... which led to a chance to do some config work when launched. I changed nothing... but I looked at all the things I could have changed. The defaults seemed fine. Likely a "do once" chore. With settings which can be changed later, if I don't get them right the first time.

Built, ran, my little test. No surprises.

I'd installed version 1.6.2, Date 2016-11-12, FPC version 3.0.0

The "as installed" component palette had 15 tabs...

Common Controls
Data Controls
Data Access
Pascal Script

Whew!... a little daunting. Maybe I should explore these a bit before looking for additional component libraries! (Joke. Who was ever happy with what they have?)

All of this arose, for me, because I wanted, I thought, to use Synapse for some TCP/IP projects. But always use native, if you can... so the "IPro" tab caught my eye. Limited searching on the 'net turned up: "Q: Can these be used with a specified URL to display the corresponding page in a form? If so, how? A: Afaik no. You need some networking components to download the files first."

So... onward. "It worked". What about my previous Lazarus projects?

Picked one or two at random, tried loading, compiling.

Worked fine! Hurrah! (Didn't re-create the C:\lazarus folder, by the way, or complain because it had "disappeared".)

I have another set of "install" notes, which I wrote a long time ago. I doubt they have anything of use in them now, but if you are really struggling to get an answer to something, there might be clues in those old notes.

   Search this site or the web        powered by FreeFind
  Site search Web search
Site Map    What's New    Search   BEWARE: There is stuff at my other two sites that the search above won't reveal. Go to either site (see links below) and use that site's FreeFind search button.

BEWARE: The search above only visits a selection of my stuff. Go to either of my other sites (see links below) and use that site's FreeFind search button, if you haven't found something you "know is there".

In addition to the tutorials for which this page serves as Table of Contents, I have other sites with material you might find useful.....

My other sites....
Sheepdog Software homepage.
My Arunet homepage.

... and some links to specific pages within them you might want....
You can't "play" all day... learn to use the Libre Office/ Open Office database. Free. Multi-platform.
The Arduino- LOTS of fun, for not much money. And beginner (intelligent beginner) friendly. And good pursuit for kids. Combine programming and electronics!
Designing printed circuit boards the KiCad way. Free. Multi-platform. Long established. PCB-fab houses take native KiCad files.
And lastly... Making maps... how we did it before GPS Indulge me? This discusses a worthwhile, fun (if presented intelligently) activity for kids, which can be undertaken on many levels... a simple 20 minutes, or weeks of engaging activity. (Also known to divert susceptible adults.)

Ad from page's editor: Yes.. I do enjoy compiling these things for you... hope they are helpful. However.. this doesn't pay my bills!!! If you find this stuff useful, please at least help me with Facebook links, etc (buttons at top of page). If you run an MS-DOS or Windows PC, please visit my freeware and shareware page, try something? Links on your page to this page would also be appreciated, of course!
Click here to visit editor's freeware, shareware page.

   Here is the way to contact the author of these Lazarus/Delphi tutorials, Tom Boyd.

Valid HTML 4.01 Transitional Page WILL BE tested for compliance with INDUSTRY (not MS-only) standards, using the free, publicly accessible validator at validator.w3.org. (Mostly passes. A few problems caused by Google+ and Delicious code.)

If this page causes a script to run, why? Because of things like Google panels, and the code for the search button. Why do I mention scripts? Be sure you know all you need to about spyware.

....... P a g e . . . E n d s .....