Code: Select all
#!/bin/bash
# install_freebasic.bash
# download freebasic32 from:
# https://www.freebasic-portal.de/downloads/aktuelle-compiler/freebasic-1-05-0-fuer-linux-x86-376.html
# german documentation in .chm:
# https://www.freebasic-portal.de/befehlsreferenz/
# install FreeBasic 1.05 32bit
cd ~/downloads/FreeBASIC-1.05.0-linux-x86
sudo ./install.sh -i
# update system
sudo apt-get update
# install dependencies
sudo apt-get install gcc libncurses5-dev libffi-dev libgl1-mesa-dev
sudo apt-get install libx11-dev libxext-dev libxrender-dev libxrandr-dev libxpm-dev
# cairo and goocanvas
sudo apt-get install libcairo2-dev libgoocanvas-dev
# find packages if necessary
# apt-cache search libgtk-3-0
# install gtk+
sudo apt-get install libgtk2.0-dev libgtk-3-dev libgtksourceview-3.0-dev
#sudo apt-get install libglade2-dev
# install geany and kchmviewer for use with geany
sudo apt-get install geany kchmviewer