Install on Ubuntu
(Ubuntu only)
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
15.10
On Ubuntu 15.10 Lazarus 1.4.0 / FPC 2.6.4 will be installed.
20.04
On Ubuntu FPC 3.0.4 will be installed in /usr/bin while Lazarus 2.0.6 will be installed in ~/.lazarus
21.10
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
git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git .lazarus2
cd .lazarus2
make
./lazarus --pcp=~/.lazarus2
From the Free Pascal wiki, page "Install on Ubuntu", as it stood on 2022-05-21 after a change by Malcome, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
