Gambas Documentation
Application Repository
Code Snippets
Compilation & Installation from source code
Components
Controls pictures
Deprecated components
Developer Documentation
Development Environment Documentation
Documents
About The Best Formula In The World
Architecture details
Benchmarks
Books
By Reference Argument Passing
Compatibility between versions
Creating And Using Libraries
Database Datatype Mapping
Database Request Quoting
Date & time management
Dates and calendars
DBus and Gambas
Differences Between Shell And Exec
Differences From Visual Basic
Distributions & Operating Systems
Drag & Drop
DrawingArea Internal Behaviour
External functions datatype mapping
Frequently Asked Questions
Gambas Farm Server Protocol
Gambas Mailing List Netiquette
Gambas Markdown Syntax
Gambas Naming Conventions
Gambas Object Model
Gambas Scripting
Gambas Server Pages
Gambas Unit Testing
Gambas Wiki Markup Syntax
Getting Started With Gambas
Hall Of Fame
Housekeeping, cleaning up
Image Management In Gambas
Including Help Comments in Source Code
Installation from binary packages
Interpreter limits
Introduction
Just In Time Compiler
Just In Time Compiler (old version)
License
Localisation and Internationalization
Mailing Lists & Forums
Naming Conventions
Network Programming
ODBC Component Documentation
PCRE Pattern Syntax
Porting from Gambas 2 to Gambas 3
Previous News
Project Directory Structure
Release Notes
Reporting a problem, a bug or a crash
Rich Text Syntax
Screenshots
Text highlighting definition file syntax
The Program has stopped unexpectedly by raising signal #11
Variable Naming Convention
WebPage Syntax
Web site home page
What Is Gambas?
Window & Form Management
Window Activation & Deactivation
Window Life Cycle
XML APIs
Error Messages
Gambas Playground
How To's
Language Index
Language Overviews
Last Changes
Lexicon
README
Search the wiki
To Do
Topics
Tutorials
Wiki License
Wiki Manual

Installation from binary packages

Important information

Binary packages of Gambas are now provided by the openSUSE build server.

In the following instructions, replace the string ${VERSION} by:

  • master to install the development version.

  • stable to install the latest stable version.

  • 3.XY to install the last release of the 3.XY version. For example, 3.20 for the last release of Gambas 3.20.

When you add the openSUSE build service repository for the first time, you may need to remove all previous installations of Gambas entirely, to prevent any weird dependency problem. The Gambas packages on some distributions will upgrade with no problems. See the appropriate section for your distribution below.

If you have compiled Gambas from sources, remove the result by running sudo make uninstall.

If you get the following error with curl:

curl: (60) SSL certificate problem: unable to get local issuer certificate

then add the -k option to the curl command:

curl -fsSLk ...

ArchLinux / Manjaro

Depending on the desktop installed you might first need to install curl:

$ sudo pacman -S curl

For Arch Linux, edit /etc/pacman.conf and add the following (note that the order of repositories in pacman.conf is important, since pacman always downloads the first found package):

[home_gambas_${VERSION}_ArchLinux]
Server = https://download.opensuse.org/repositories/home:/gambas:/${VERSION}/ArchLinux/$arch

Then run the following as root:

$ key=$(curl -fsSL https://download.opensuse.org/repositories/home:gambas:${VERSION}/ArchLinux/$(uname -m)/home_gambas_${VERSION}_ArchLinux.key)
$ fingerprint=$(gpg --quiet --with-colons --import-options show-only --import --fingerprint <<< "${key}" | awk -F: '$1 == "fpr" { print $10 }')

$ pacman-key --init
$ pacman-key --add - <<< "${key}"
$ pacman-key --lsign-key "${fingerprint}"

$ pacman -Sy home_gambas_${VERSION}_ArchLinux/gambas3

Manjaro updates often lag behind ArchLinux updates. Consequently, the ArchLinux packages may not install correctly on Manjaro, because of a blocking library version problem (the required library available on ArchLinux is newer that the one installed on Manjaro). In that case, you will have to wait until Manjaro is synchronized with ArchLinux to be able to install the packages.

Debian

Depending on the desktop installed you might first need to install curl:

$ sudo apt install curl

In the following instructions, replace ${DEBIAN} by Debian_11 or Debian_12, according to the version of your Debian system.

Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).

$ echo 'deb http://download.opensuse.org/repositories/home:/gambas:/${VERSION}/${DEBIAN}/ /' | sudo tee /etc/apt/sources.list.d/home:gambas:${VERSION}.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:${VERSION}/${DEBIAN}/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_${VERSION}.gpg > /dev/null
$ sudo apt update

For upgrade:

$ sudo apt upgrade

For fresh install:

$ sudo apt install gambas3

After upgrading from official you might need to follow up with this to fully upgrade:

$ sudo apt --fix-broken install
$ sudo apt install gambas3

openSUSE

If upgrading Gambas from a different repository, adding the --allow-vendor-change flag to the install or upgrade command will ease your experience during the upgrade. For example:

zypper install --allow-vendor-change gambas3

openSUSE TumbleWeed

For openSUSE Tumbleweed run the following as root:

$ zypper addrepo https://download.opensuse.org/repositories/home:gambas:${VERSION}/openSUSE_Tumbleweed/home:gambas:${VERSION}.repo
$ zypper refresh
$ zypper install gambas3

openSUSE Leap 15.6

For openSUSE Leap 15.6 run the following as root:

$ zypper addrepo https://download.opensuse.org/repositories/home:gambas:${VERSION}/openSUSE_Leap_15.6/home:gambas:${VERSION}.repo
$ zypper refresh
$ zypper install gambas3

Ubuntu

If upgrading from Gambas Ubuntu Team ppa you need to remove the reference to ppa found in /etc/apt/sources.list.d/<somename>.list before starting the below instructions.

Depending on the desktop installed you might first need to install curl:

$ sudo apt install curl

For Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04 and Ubuntu 24.10, run the following, by replacing ${UBUNTU} by the Ubuntu version (24.10, 24.04, and so on):

Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).

$ echo 'deb http://download.opensuse.org/repositories/home:/gambas:/${VERSION}/xUbuntu_${UBUNTU}/ /' | sudo tee /etc/apt/sources.list.d/home:gambas:${VERSION}.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:${VERSION}/xUbuntu_${UBUNTU}/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_${VERSION}.gpg > /dev/null
$ sudo apt update

For upgrade:

$ sudo apt upgrade

For fresh install:

$ sudo apt install gambas3