程式語言 - FreeBASIC - Simple DirectMedia Layer (SDL) v1.2 - 開發環境



參考資訊:
https://www.freebasic.net/
https://sourceforge.net/projects/fbc/files/

步驟如下:

$ cd
$ 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

$ wget https://sourceforge.net/projects/fbc/files/FreeBASIC-1.10.1/Binaries-Linux/FreeBASIC-1.10.1-linux-x86_64.tar.gz/download -O FreeBASIC-1.10.1-linux-x86_64.tar.gz
$ tar xvf FreeBASIC-1.10.1-linux-x86_64.tar.gz
$ sudo mv FreeBASIC-1.10.1-linux-x86_64 /opt/fbc

$ export PATH=/opt/fbc/bin/:$PATH
$ fbc -v
    FreeBASIC Compiler - Version 1.10.1 (2023-12-24), built for linux-x86_64 (64bit)
    Copyright (C) 2004-2023 The FreeBASIC development team.