-
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. The exact list of packages to install, for various popular Linux distributions, is documented on compiling from source (section about Linux).