These instructions may well work with previous versions of Ubuntu, but I would strongly recommend upgrading to 7.04 before going any further. If you want to find the exact package versions supported on a given release of Ubuntu, it will take time. If you can upgrade first the procedure below should get you going 'first time'.
$ sudo apt-get install build-essential g++ automake autoconf libbz2-dev libgnorba-dev libfbclient1 libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl3-dev libgtkglext1-dev libqt3-mt-dev kdebase-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev build-essential libbonobo2-dev libcos4-dev libomniorb4-dev firebird2-dev librsvg2-dev libpoppler-dev libpoppler-dev libpoppler-glib-dev libasound2-dev libartsc0-dev libesd0-dev libesd-alsa0 libdirectfb-dev libaa1-dev libarts1-dev kdelibs4-dev libffi4-dev libxtst-dev
$ cd /usr/src $ sudo tar xvfj /home/<your userid>/Desktop/gambas2-1.48.tar.bz2
$ cd /usr/src/gambas2-1.9.48 $ sudo ./configure -C $ sudo make $ sudo make install
This should leave you with a working version of Gambas in /usr/local/bin .. so if you now type in "gambas2" from the terminal session, it should start your nice new IDE.
Gareth Bult
/usr/local/bin/gambas2
You can replace the icon by
/usr/src/gambas2-1.9.91/app/src/gambas2/img/logo/new-logo.png