-
install FPC first. It is easiest to install a package called
fpcusing your package manager. -
Then download and install Lazarus package for Linux.
-
To compile the applications, install also GTK and OpenGL development libraries, from packages like
libgtk2.0-dev,libgl-devon Debian-based distros.