Hello F!
You need to install all components from FPC such as src, doc and build along
with the Pi version fpc-3.2.2.arm-linux-raspberry-2.tar.
For Lazarus it look best to grab from the GIT code repo having installed GIT
onto your system first.
Lazarus is the frontend IDE Rapid applications development tool and libraries
for FPC available from :
https://sourceforge.net/p/lazarus/laz.git/ci/main/tree
You may well need to install other required components such as dev libraries
so
read the docs for both for installing.
Personally I would not recommend installing all this on a SD - it will be
painfully slow - heck its bad enough using a SSD or HDD.
Vincent