This tutorial will explain how you can install a full Lazarus/Free Pascal software development kit of on Ubuntu Desktop. Lazarus is a visual programming tool to make graphical user interface applications in drag-and-drop ways and with Free Pascal it is often viewed as a complete Free Software alternative or replacement to Delphi. Now let's set it up!
Subscribe to UbuntuBuzz Telegram Channel to get article updates.
See also how to setup Gambas | Qt | GTK | GTK/C++
Installation
$ sudo apt-get install fpc lazarus
Explanation:
- fpc is Free Pascal, the compiler tool of Pascal programming language.
- lazarus is the visual IDE for FreePascal.
Free Pascal versions in multiple Ubuntu releases:
- 3.0.4 on Ubuntu Bionic and Focal
- 3.2.0 on Ubuntu Hirsute
- 3.2.2 on Ubuntu Impish and Jammy
The Results
The compiler can be invoked on the Terminal by command line.
The IDE (integrated development environment) can be run from the application menu. You should have a main window (top), a blank form (middle), a code window (right), and a list of components window (left). See picture below.
References
https://wiki.freepascal.org/Install_on_Ubuntu
This article is licensed under CC BY-SA 3.0.