Run GAMBAS on Zorin OS

So it looks nice, but no way will it run one of my frequently-used development environments - Gambas. Tried everything, so I guess it might be back to Mint. Oh well, it was worth a try.

Pardon my ignorance but what is Gambas?
All I could find was a photo of yummy looking shrimps.

Programming language
"Gambas - Gambas Almost Means Basic" Gambas - Gambas Almost Means Basic

1 Like

To 337harvey: I initially installed it from the Zorin software application and nothing, no go. Then I did the repository install using apt-get install etc, all three instructions, still nothing. It simply doesn't run.

I'd like to Add to this thread.
It's now 2025, 4 years later and GAMBAS still does NOT work. I want to add, that GAMBAS is a Zorin Install, not FlatPak; so what gives?
Like in 2021, I've installed from Zorin Store, and from apt-get, and Nothing.
I'm curious if this is a "Pro" application? And it doesn't work in core? Or is it simply a bug on someone's todo list for the past 4 years?

Pete

There are no difference in the applications that you can install in Zorin OS Core & Pro editions. So, this must be another issue.

I don't see any Flatpak package available in the Flathub repositories.

From Zorin, Store search Gambas, its from the Zorin Repository. It's not a FlatPak, You can try "sudo apt install gambas3", it installs without error but also fails to launch....same as Zorin's.
My reference on Flarpak was merely pointing out that this IS a Zorin approved install.


From apt install gambas3
running gambas from command prompt:

pete@Zorin:~$ gambas3

** 
** OOPS! INTERNAL ERROR. Program aborting, sorry! :-(
** Cannot find interface of library 'gb.gtk3.wayland'
** 
** ERROR: #27: Cannot load component 'gb.gtk3.wayland': cannot find component
** 
** Please send a bug report to the gambas bugtracker [1] or to the gambas mailing-list [2].
** [1] http://gambaswiki.org/bugtracker
** [2] https://lists.gambas-basic.org/listinfo/user
**

Have you tried logging in on Zorin On Xorg, then launching GAMBAS?

No I have not tried that. I'll give it a shot next...
To be honest after a brief look I wouldn't know where to begin with Xorg.

You can switch between Xorg and Wayland by logging out of your account, and switching the session type on the lower right corner:

Try also installing the package gambas3-gb-gtk3-webview in case it's not automatically installed, as per this bug tracker:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036547

After trials and tribulations...Gambas comes up on Xorg.
My Initial test was a failure, but the I realized that I gad installed Gambas on MY PC not Xorg. So I uninstalled everything, tried the Store Install, it failed. So I uninstalled again, from "sudo apt install gambas3*", this test was successful!
I'll now reboot and try on my PC again.....It now Boots Up on my desktop!
Thanks for the assistance!!!
Pete

1 Like

Hi, My name is Bruce Steers, I have been involved with gambas development for many years.

Gambas is actually very easy to install on Zorin 18 and any other Ubuntu based system that has the Ubuntu repositories available.

The best method to install Gambas is to forget the system repositories version and add the official gambas repositories as they are well maintained (better than many os distributions)

There are multiple operating systems supported and multiple gambas versions available thanks to OBS (OpenSUSE Build Service).

See these links...

For Zorin 18 that uses Ubuntu-noble (24.04) simply use these commands in a terminal...

echo 'deb http://downloadcontent.opensuse.org/repositories/home:/gambas:/stable/xUbuntu_24.04/ /' | tee /etc/apt/sources.list.d/home:gambas:stable.list
curl -fsSL https://downloadcontent.opensuse.org/repositories/home:gambas:stable/xUbuntu_24.04/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home_gambas_stable.gpg > /dev/null

 apt purge gambas3*
 apt update
 apt install gambas3

That's it, your system will update to newer stable versions automatically as they are released when you run 'sudo apt upgrade'

I have just successfully and easily installed the latest stable gambas 3.21.1 on a fresh Zorin 18 VM using the above commands.

Replace the word "stable" for "master" in the above code to use the gambas development version

For older Zorin releases just use the correct xUbuntu version number in the above code to set up for your system, Other available supported systems can be seen in the links above.

Alternatively if you want to compile gambas from source code you can follow these instructions..

I am the host of the GambasGB forum. @ GambasGB - Forum index
Please feel free to come join and we can help with any gambas issues you may encounter :slight_smile:

3 Likes