Lazarus is a free and open source IDE for FreePascal Compiler. It is Delphi compatible IDE for Linux, FreeBSD, MacOS and Windows. Free Pascal is a free and open source compiler that runs on Linux, Windows, OS/2, 68K and more. Free Pascal is designed to be able to understand and compile Delphi syntax, which is OOP. Using Lazarus, users can develop Delphi like programs in Linux, windows and MacOS platforms. Lazarus and Free Pascal strives for write your code or app in once and you can compile it anywhere.
Download Lazarus [Windows, MacOS, Linux]
How to Install Lazarus on Ubuntu
It is available as deb package file for Ubuntu. To install the latest version of Lazarus IDE on your system, download the latest deb file from the above Lazarus IDE download link. Also download fpc-laz and fpc-src from the above link.And save it on your Downloads folder.
Here below are the downloaded file names. You can change below command. Based on your file name.
fpc-laz_3.2.2-210709_amd64.deb
fpc-src_3.2.2-210709_amd64.deb
lazarus-project_3.0.0-0_amd64.deb
Open the terminal command line application (ctrl+alt+t) and run below command.
sudo apt install ./Downloads/fpc-laz_3.2.2-210709_amd64.deb
sudo apt install ./Downloads/fpc-src_3.2.2-210709_amd64.deb
sudo apt install ./Downloads/lazarus-project_3.0.0-0_amd64.deb