Skip to content

Instantly share code, notes, and snippets.

@countingpine
Created March 28, 2020 13:26
Show Gist options
  • Save countingpine/6ad5b1b431111e6f411a38d826c9849e to your computer and use it in GitHub Desktop.
Save countingpine/6ad5b1b431111e6f411a38d826c9849e to your computer and use it in GitHub Desktop.
fb-buildenv
#!/bin/bash
# install necessary tools/libraries for building/testing FreeBASIC, and git for cloning repository
sudo apt-get install git gcc make lib{ncurses5,gpm,x11,xext,xpm,xrandr,xrender,gl1-mesa,ffi,cunit1}-dev
wget https://downloads.sourceforge.net/project/fbc/Binaries%20-%20Linux/More/FreeBASIC-1.05.0-linux-x86.tar.xz -nc -O ~/Downloads/FreeBASIC-1.05.0-linux-x86.tar.xz
tar -xf ~/Downloads/FreeBASIC-1.05.0-linux-x86.tar.xz --directory /tmp/
git clone https://git.code.sf.net/p/fbc/code ~/fbc-code
make --directory=~/fbc-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment