Install on Ubuntu

From Free Pascal wiki
Revision as of 07:48, 21 May 2022 by Malcome (talk | contribs) (→‎21.10)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Logo-ubuntu cof-orange-hex.svg

This article applies to Ubuntu only.

See also: Multiplatform Programming Guide

See Installing Lazarus on Linux - this page covers most of what you need for most Linux Distributions.

The easiest way to install lazarus and corresponding versions of FPC is by means of the Ubuntu Software Center that will install the lazararus/fpc version that is supported by the Ubuntu version.

sudo apt install lazarus


On Ubuntu 15.10 Lazarus 1.4.0 / FPC 2.6.4 will be installed.


On Ubuntu FPC 3.0.4 will be installed in /usr/bin while Lazarus 2.0.6 will be installed in ~/.lazarus


FPC 3.2.2 will be installed in /usr/bin while Lazarus 2.0.12 will be installed in ~/.lazarus

from .deb

Install a specific lazarus version from .deb:

sudo apt install gdebi
sudo gdebi lazarus-project_2.0.12-0_amd64.deb


git clone .lazarus2
cd .lazarus2
./lazarus --pcp=~/.lazarus2