Install on Ubuntu
From Free Pascal wiki
Jump to navigationJump to searchThis article applies to Ubuntu only.
See also: Multiplatform Programming Guide
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.
apt-get install lazarus
15.10
On Ubuntu 15.10 Lazarus 1.4.0 / FPC 2.6.4 will be installed.
20.04
On Ubuntu 20.04 Lazarus 2.0.6 / FPC 3.0.4 will be installed in /usr/bin Sources are available in