A simple script for installing gambas from source

Questions and info about the Gambas IDE itself and not what you are making with it.
(not bug reports)
Post Reply
User avatar
BruceSteers
Posts: 1831
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

A simple script for installing gambas from source

Post by BruceSteers »

Here is another script for installing gambas from the source code.

This one is far simpler than my gambas3-update-compile-and-install script.

Download the gambas source and unpack it (choose dev or stable branch),
Then copy my install script into the source folder.

gambas dev: https://gitlab.com/gambas/gambas/-/arch ... ter.tar.gz
gambas stable: https://gitlab.com/gambas/gambas/-/arch ... ble.tar.gz

script: https://gitlab.com/bsteers4/gambas/-/ra ... line=false
(the script is also attached to this post)

Make the script executable and run it.
cd gambas  # (cd the unpacked source code folder)
chmod +x ./Install_Gambas.sh
./Install_Gambas.sh

When first run if you press return it outputs the commands needed for compile and install to the terminal.
If you press "I" then return it runs the install commands instead of printing them.

It just reads the .gitlab-ci.yml file and asks you to enter your system (no auto-detection is attempted)
GUP.png
GUP.png (67.78 KiB) Viewed 3476 times
Then prints or installs depending on your choice.
Attachments
Install_Gambas.sh.tar.gz
(2.16 KiB) Downloaded 262 times
If at first you don't succeed , try doing something differently.
BruceS
Post Reply