Creating a gambas2 program, step by step, a telephone index

From : http://listingambas.blogspot.com/2011/06/instalacion-e-introduccion-la.html

Installation and introduction to programming with Gambas 2


Find and download the eMule, Ares or Bittorrent: gambas2 + crack
ha, ha, ha ... kidding.

Gambas is a free environment of development based on a Basic interpreter  with object extensions, a bit like Visual Basic ™ (but NOT a clone!).
"With Gambas , I quickly design your program GUI with QT or GTK +, access MySQL, PostgreSQL, Firebird, ODBC and SQLite, pilot applications KDE with DCOP , translate your program into any language, create network applications easily, make applications OpenGL 3D, make CGI web applications, and so on ..."


As defined by its author Benoît Minisini, at the project website :

http://gambas.sourceforge.net/fr/main.html
The program is free, but we can help the project with donations through PayPal .

 Installation using "Software center"

If you have the GNU-Linux distribution Ubuntu Gnome desktop, the easiest way to install the program is through the Applications menu / Ubuntu Software Center


Then accept to install the program!

Installing using console commands
You can also install from a command line:
1) Install the packages and libraries needed for compiling (you will probably be asked to download some files from the Internet, press "Y" , when asked):
sudo aptitude install build-essential g + + automake autoconf bzip2 debhelper dpatch gettext firebird2.0-dev kdelibs4-dev libbz2-dev libcurl3-dev libgtk2.0-dev libjpeg62-dev libmysqlclient15-dev libpcre3-dev libpng12-dev libpq-dev libpoppler-dev libqt3-compat-headers libqt3-mt-dev librsvg2-dev libsdl-dev libsdl-gfx1.2-image1.2-dev libsdl-dev libsdl-mixer1.2-sound1.2-dev libsdl1.2-dev libsqlite3-dev libsqlite0 dev libssl-dev libxml2-dev-libxtst-dev mesa-common-dev unixodbc-dev zlib1g-dev libffi-dev-dev libace libomniorb4-dev
2) Create a directory (eg / home/user/gambas2): mkdir / home / user/gambas2
3) Download from
Gambas website at  http://gambas.sourceforge.net/ the source code file: gambas2-2.20.2.tar.bz2
4) Move it from the folder you downloaded (probably the Desktop is successfully downloaded) to the folder gambas2:

mv /home/user/Desktop/gambas2-2.20.2.tar.bz2   /home/user/gambas2/gambas2-2.20.2.tar.bz2

5) Log gambas2 directory
cd / home/user/gambas2
6) Unzip to this directory:
tar-2.20.2.tar.bz2 gambas2 xvfj
7) create a new directory (and get into it) and compile:
   First: -cd
gambas-22.20.2 run the following command: . / configure
   then
make
   And finaly:
sudo make install
This way you can run Gambas from the terminal  with the command:
gambas2


Note:
Depending on the computer it may take a little more than an hour to go through the whole process.

First meeting with the Gambas IDE
Once installed the program, you can use it: press Menu Aplications/Programing/Gambas2.