sudo apt-get install lazarus-ide fpc
The install and developing process is the same like on any Debian machine
I have started the ide over the ssh
ssh -X pi@192.168.1.104 lazarus-ide
I have the Firebird components i can start doing Database apps like on any desktop