Forum > Linux
Installing Lazarus 4.2 on Astra Linux 1.7
(1/1)
kotyara12:
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 [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---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:
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:
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
kotyara12:
--- Quote from: dbannon on October 21, 2025, 12:53:18 pm ---Astra 1.7, (based on Debian 10) seems a strange choice, is there nothing newer available ?
--- End quote ---
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.
kotyara12:
--- Quote from: tetrastes 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.
--- End quote ---
Thank you very much. This seems to have solved the problem. Thanks again!!!
Navigation
[0] Message Index