[Lazarus] Install Lazarus 2.2.4 on Ubuntu 20.04 LTS and other Linux
John Landmesser
jmlandmesser at gmx.de
Thu Feb 9 11:50:25 CET 2023
Am 09.02.23 um 11:08 schrieb Bo Berglund via lazarus:
> Need help after fpc/lazarus moved from subversion...
>
> So I have been using Lazarus/FPC on Linux for a long time now (12+ years) and I
> have installed from sources using subversion access to the release tags on the
> source svn server.
> I created a script I could use on all these platforms to do the complete
> installations of fpc, lazarus, dependencies and custom components etc.
>
> This has been done on various Linux distros like Ubuntu 14-16-18-20 and
> RaspberryPi since about 2014 until 2020 or so.
>
> Now after having paused my programming a bit over the Covid pandemic I am back
> and need to update my installations by adding the newest version 2.2.4.
>
> But meanwhile the subversion server I have used has been replaced by some other
> versioning system so my script does no longer work...
>
> So I am asking how can I install from scratch on Linux (Ubuntu on PC and PiOS
> for RaspberryPi) in such a way that the older versions can remain in place?
>
> I googled a bit and found references to some deb files to download and use as
> sources, but then was also stated that installing one version would remove any
> other (earlier or later) existing version, which I surely do not want.
>
> I need the 2.2.4 version to exist in parallel with my older versions 2.0.6,
> 2.0.8, 2.0.10 and 2.0.12, so I can still build my applications with either of
> them...
>
> Please advice!
>
> PS
> I also have Lazarus installed on Windows-10 but this is done using the official
> sourceforge installers (i.e. not from source) and has resulted in separate
> installations for these versions so I can build my code also for Windows.
> DS
>
>
in my simple script i changed just one line to get it working with
new lazarus git sources:
' old svn code:
# svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus
new code ( git needs to be installed )
git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git lazarus
Alternative: look how its done by fpcupdeluxe:
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/v2.2.0n
good luck!
JohnML
More information about the lazarus
mailing list