參考資訊:
https://www.freepascal.org/
https://wiki.lazarus.freepascal.org/FPC_and_SDL
https://sourceforge.net/projects/freepascal/files/
步驟如下:
$ sudo apt-get install fpc -y $ sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-gfx1.2-dev libsdl-sound1.2-dev libsdl-ttf2.0-dev -y $ fpc -v Free Pascal Compiler version 3.2.2+dfsg-20 [2023/03/30] for x86_64 Copyright (c) 1993-2021 by Florian Klaempfl and others