Raspberry Pi

How to install the Lazarus IDE on Raspberry Pi

Lazarus is one of the open-source programs for creating applications using the built in simple Free Pascal complier. This complier is capable to understand and compile the Object Pascal language used in the Lazarus IDE. It’s easy to use dashboard and friendly environment makes it one of the best choice IDEs for the users interested in developing applications with Object Pascal language.

This article is a detail guide to install Lazarus IDE on Raspberry Pi.

Install Lazarus IDE on Raspberry Pi

Installation of Lazarus IDE on Raspberry Pi is very easy, and it requires few commands. However, it’s better to update the packages first through the following command before performing any installation.

$ sudo apt update && sudo apt upgrade

Next, we can move towards installing Lazarus IDE on the system with free Pascal Compiler using the following command:

$ sudo apt-get install fpc lazarus -y

After the installation, you can open the Lazarus IDE on Raspberry Pi terminal from the following command:

$ lazarus-ide

You can also open Lazarus IDE by going into the Application Menu > Programming > Lazarus.

The overall interface of Lazarus IDE will look like this.

Graphical user interface, application, Word Description automatically generated

Here, you can begin writing your code in Object Pascal Language and start developing applications.

Remove Lazarus IDE from Raspberry Pi

If you want to remove the Lazarus IDE from Raspberry Pi system then execute the below-given command:

$ sudo apt autoremove lazarus -y

Conclusion

Lazarus IDE is a cross platform IDE for developing GUI applications with the help of Free Parcel complier that supports running Object Pascal language. The IDE can be installed on Raspberry Pi system from “apt” command and can be opened from terminal using “lazarus-ide” command or GUI from the “Programming” section.

About the author

Muhammad Nasir

Hi! I am an engineer and technical blogger by profession and I enjoy getting things done with electronics. I am using this platform to share my knowledge in the field of Raspberry Pi, Linux, and Embedded Systems with others.