-
install FPC first. It is easiest to install a package called
fpc
using 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-dev
on Debian-based distros.