Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2025-06

Is it OK to use distro version of fpc on Linux with Lazarus 4.0?

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bo Berglund

Maybe a silly question but:

I have "always" installed fpc/lazarus from sources on my Linux since 10+ years. That as been done on a lot of different platforms (Ubuntu on PC hw, RaspberryPi etc) and I always had to find a working seed compiler.

But now on a new Ubuntu Server with a separately installed Mate desktop I thought that I should aske here if it is OK to mix:

1 - Install fpc via apt:
------------------------
$ apt policy fpc
fpc:
Installed: (none)
Candidate: 3.2.2+dfsg-32
Version table:
3.2.2+dfsg-32 500
500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages

$ sudo apt install fpc

2 - Manually install Lazarus from sources:
------------------------------------------
wget
https://gitlab.com/freepascal.org/lazarus/lazarus/-/archive/lazarus_4_0/lazarus-lazarus_4_0.tar.gz

Then expand the Lazarus sources into $HOME/devel/lazarus/4.0 as usual and build Lazarus 4.0 normally?

Or should I get fpc from sources too?
In that case where do I get a suitable seed compiler?

Bo Berglund Developer in Sweden

Reply by email

Mattias Gaertner
to Bo Berglund
Bo Berglund wrote 18 lines
Maybe a silly question but: I have "always" installed fpc/lazarus from sources on my Linux since 10+ years. That as been done on a lot of different platforms (Ubuntu on PC hw, RaspberryPi etc) and I always had to find a working seed compiler. But now on a new Ubuntu Server with a separately installed Mate desktop I thought that I should aske here if it is OK to mix: 1 - Install fpc via apt: ------------------------ $ apt policy fpc fpc: Installed: (none) Candidate: 3.2.2+dfsg-32 Version table: 3.2.2+dfsg-32 500 500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages

This fpc 3.2.2 is fine.

Mattias

Reply by email