Recent

Author Topic: Installing Lazarus 4.2 on Astra Linux 1.7  (Read 529 times)

kotyara12

  • Newbie
  • Posts: 3
Installing Lazarus 4.2 on Astra Linux 1.7
« on: October 21, 2025, 09:29:11 am »
I'm trying to install Lazarus 4.2 on Astra Linux 1.7.

Unfortunately, there's no way to choose the Linux distribution or version (specifically, Astra 1.7). I have to use what's provided. So...

The "standard" Astra Linux 1.7 repositories include Lazarus, but it's a very old version, 2.0. I want to install the latest version.

I downloaded the official deb files. The first two (fpc-src and fpc-src) installed without errors. An error occurred on lazarus-project_4.2.0-0_amd64.deb:

Code: Pascal  [Select][+][-]
  1. The archive "lazarus-project_4.2.0-0_amd64.deb" uses an unknown compression method for control.tar.zst. Aborting.

Google searches revealed that the culprit is the outdated dpkg package manager, which I have at version 1.19.8, but should be at least 1.21.

Unfortunately, I'm new to Linux and can't solve this problem. Please help.

tetrastes

  • Hero Member
  • *****
  • Posts: 734
Re: Installing Lazarus 4.2 on Astra Linux 1.7
« Reply #1 on: October 21, 2025, 10:56:46 am »
Compile Lazarus yourself. It's very easy. Download sources f.e. from https://sourceforge.net/projects/lazarus/files/Lazarus%20Zip%20_%20GZip/Lazarus%204.2, unpack and simply type 'make clean bigide'. As a bonus you'll get Lazarus in your home dir.

dbannon

  • Hero Member
  • *****
  • Posts: 3647
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Installing Lazarus 4.2 on Astra Linux 1.7
« Reply #2 on: October 21, 2025, 12:53:18 pm »
https://wiki.freepascal.org/Installing_Lazarus_on_Linux#Build_Lazarus_from_Source

New to Linux ?  Astra 1.7, (based on Debian 10) seems a strange choice, is there nothing newer available ?

You will need at least FPC322 to build Lazarus 4.2. I am unsure what fpc debian 10 had. But debian 11 had fpc320 and that will build fpc322. Otherwise you will need to do an extra stage or download a boot compiler.

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

kotyara12

  • Newbie
  • Posts: 3
Re: Installing Lazarus 4.2 on Astra Linux 1.7
« Reply #3 on: October 21, 2025, 01:03:42 pm »
Astra 1.7, (based on Debian 10) seems a strange choice, is there nothing newer available ?

It's not my choice. It's the company's choice. I can't influence it.
The compiler is already installed normally, via a package.
« Last Edit: October 21, 2025, 01:08:26 pm by kotyara12 »

kotyara12

  • Newbie
  • Posts: 3
Re: Installing Lazarus 4.2 on Astra Linux 1.7
« Reply #4 on: October 21, 2025, 01:04:44 pm »
Compile Lazarus yourself. It's very easy. Download sources f.e. from https://sourceforge.net/projects/lazarus/files/Lazarus%20Zip%20_%20GZip/Lazarus%204.2, unpack and simply type 'make clean bigide'. As a bonus you'll get Lazarus in your home dir.

Thank you very much. This seems to have solved the problem. Thanks again!!!

 

TinyPortal © 2005-2018