Updating Lazarus 2.2.0RC2 --> 2.2.0 (together with latest FPC) lazarus / 1-Linux ---------------------------------------------------------------------- ArminLinder · 2022-02-14 16:43 On my Debian VM I currently have 2.2.0RC2/FPC 3.2.2 installed using sudo apt. I need to update to 2.2.0 release. Unfortunately the wiki at https://wiki.freepascal.org/Installing_Lazarus_on_Linux  does not have anything to say about updates. Who can give me instructions? The initial install was, IIRC, via sudo apt-get install Lazarus. I tried sudo apt-get upgrade Lazarus, but it seems this command won't give me a 2.2.0, but a 2.0.12. Thnx, Armin. ---------------------------------------------------------------------- trev · 2022-02-14 22:14 Uninstall the current version (I'm guessing apt has a facility to do this - I'm not a Linux user). Install from source following the Wiki instructions because, from what I've read, most (all?) Linux distribution repos are behind current FPC and Lazarus versions for various reasons. ---------------------------------------------------------------------- dbannon · 2022-02-14 23:41 Just install the new one, it will overwrite the rc version and apt will update the database accordingly. Davo ---------------------------------------------------------------------- Zvoni · 2022-02-15 07:41 And debian is especially notorious to lag behind current versions ---------------------------------------------------------------------- dbannon · 2022-02-15 07:56 Quote from: Zvoni on February 15, 2022, 08:41:20 amAnd debian is especially notorious to lag behind current versions It appears that the OP is using downloaded debs direct from FPC/lazarus, not the Debian ones. By the way, if you feel brave, Debian Testing usually has a pretty up to date version, it is right up there at the moment. Davo ---------------------------------------------------------------------- Zvoni · 2022-02-15 08:18 Quote from: dbannon on February 15, 2022, 08:56:13 amIt appears that the OP is using downloaded debs direct from FPC/lazarus, not the Debian ones. By the way, if you feel brave, Debian Testing usually has a pretty up to date version, it is right up there at the moment. Davo How do you figure that? QuoteThe initial install was, IIRC, via sudo apt-get install Lazarus. There is no hint he installed from local deb's Regards Debian being "up-to-date": I'll take your word for it, since i switched to Manjaro some 2-3 years ago ---------------------------------------------------------------------- dbannon · 2022-02-15 10:16 Quote from: Zvoni on February 15, 2022, 09:18:30 amQuote from: dbannon on February 15, 2022, 08:56:13 amIt appears that the OP is using downloaded debs direct from FPC/lazarus, not the Debian ones. How do you figure that? Because Nimral said he installed 2.2.0RC2 and that would imply Debian Unstable or Testing, unlikely.  It was most certainly not Bullseye, the standard Debian install right now.  So, yes, its possible he is using Testing in a VM . But if he is, my suggestion would still be the right one, more through good luck than anything else ;-)  https://packages.debian.org/bookworm/lazarus-ide Oh, thats interesting - Debian Bullseye Backports also has 2.2.0 too ! - I would still recommend getting the debs from FPC/Lazarus site. Davo ---------------------------------------------------------------------- Zvoni · 2022-02-15 10:26 Quote from: dbannon on February 15, 2022, 11:16:02 amOh, thats interesting - Debian Bullseye Backports also has 2.2.0 too ! - I would still recommend getting the debs from FPC/Lazarus site. Davo Definitely! OTOH, in OP's case (independent if it's testing in VM or wherever else), i'd use fpcupdeluxe, select the "generic" branch (stable, fixes or main), and fire! that way i can stay current with updates without having to juggle different Lazarus-versions each with its own config ---------------------------------------------------------------------- dbannon · 2022-02-15 10:39 Quote from: Zvoni on February 15, 2022, 11:26:05 amOTOH, in OP's case (independent if it's testing in VM or wherever else), i'd use fpcupdeluxe, select the "generic" branch (stable, fixes or main), and fire! that way i can stay current with updates without having to juggle different Lazarus-versions each with its own config Ah, well, as an old System Admin and therefore, by definition a Control Freak, I want to see whats happening. So, my general recommendation is always build Lazarus from Source.  But OP asked about Debs. fpcupdeluxe is good, I have used it for a microcontroller project where I could not be bothered working it all out myself. But for normal Lazarus installs source build is so easy and I can see where everything is. Davo