Ron,
There has been a change in how ScriptBasic was installed in the past. (< 2.2)  With this release ScriptBasic allows you to unzip the archive to where ever you like (a sub directory within your user account for example) and no need to regenerate a 
scriba.conf pointing to your SB module and include directories. The paths to these directories are relative to where the 
scriba.conf is located which is 
bin. This makes ScriptBasic more flexible with where it lives.
jrs@laptop:~/sb/sb22/bin$ scriba -D
dll ".so"
module "../modules/"
include "../include/"
maxinclude 100
preproc (
  internal (
    sdbg "../modules/sdbg.so"
   )
 )
maxstep 0
maxlocalstep 0
maxlevel 3000
maxmem 0
I created a 
. script to setup my environment variables for ScriptBasic.
export PATH=/home/jrs/sb22/bin:$PATH
export SCRIBACONF=/home/jrs/sb22/bin/scriba.conf
You can find 
IUP on SourceForge which has 32/64 bit Linux versions with the choice of Gtk2 or Gtk3. Just download the archive somewhere and run the 
install script with 
sudo. 
The 
cURL example assumes you have Apache running local on your system. If not point the URL in the script somewhere else.
The 
MySql example assumes you have MySQL server and the libmysql client installed. If you don't have MySQL installed then you need to point the host argument to where you have access to one.
If you are going to use the ODBC extension module then you will need to download the unixODBC drivers for MySQL and SQLite.
Load the 
wc.sb script in your text editor and change the following.
ok = EXECUTE("sort wc.raw /O wc.srt", -1, PID)
TOok = EXECUTE("sort wc.raw -o wc.srt", -1, PID)