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:
ArchLinux / Manjaro
Depending on the desktop installed you might first need to install
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
:
Installing master version from openSUSE build server
In your Debian installation, open a terminal and enter these commands as super user "root":
For debian 11 bullseye:
$ echo \'deb http://download.opensuse.org/repositories/home:/gambas:/master/Debian_11/ /\' | tee /etc/apt/sources.list.d/home:gambas:master.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:master/Debian_11/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home_gambas_master.gpg > /dev/null
For debian 12 bookworm:
$ echo \'deb http://download.opensuse.org/repositories/home:/gambas:/master/Debian_12/ /\' | tee /etc/apt/sources.list.d/home:gambas:master.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:master/Debian_12/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home_gambas_master.gpg > /dev/null
Next do:
For upgrade from official:
For fresh install:
$ apt-get install gambas3
After upgrading from official you might need to follow up with this to fully upgrade gambas3 to master version:
$ apt --fix-broken install
$ apt-get install gambas3
Installing stable version from openSUSE build server
If you have previously installed master from openSUSE build server make sure to first (with elevated rights) do:
$ rm -fr /etc/apt/sources.list.d/home:gambas:master.list
$ rm -fr /etc/apt/trusted.gpg.d/home_gambas_master.gpg
In your Debian installation, open a terminal and enter these commands as super user "root":
For debian 11 bullseye:
$ echo \'deb http://download.opensuse.org/repositories/home:/gambas:/stable/Debian_11/ /\' | tee /etc/apt/sources.list.d/home:gambas:stable.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:stable/Debian_11/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home_gambas_stable.gpg > /dev/null
For debian 12 bookworm:
$ echo \'deb http://download.opensuse.org/repositories/home:/gambas:/stable/Debian_12/ /\' | tee /etc/apt/sources.list.d/home:gambas:stable.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:stable/Debian_12/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home_gambas_stable.gpg > /dev/null
Next do:
For upgrade from official:
For fresh install:
$ apt-get install gambas3
After upgrading from official you might need to follow up with this to fully upgrade gambas3 to master version:
$ apt --fix-broken install
$ apt-get 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
:
Installing master version from openSUSE build server
In your Ubuntu installation, open a terminal and enter these commands with elevated rights (sudo):
For Ubuntu 20.04 focal:
$ echo \'deb http://download.opensuse.org/repositories/home:/gambas:/master/xUbuntu_20.04/ /\' | sudo tee /etc/apt/sources.list.d/home:gambas:master.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:master/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_master.gpg > /dev/null
For Ubuntu 22.04 jammy:
$ echo \'deb http://download.opensuse.org/repositories/home:/gambas:/master//xUbuntu_22.04/ /\' | sudo tee /etc/apt/sources.list.d/home:gambas:master.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:master//xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_master.gpg > /dev/null
For Ubuntu 24.04 noble:
$ echo \'deb http://download.opensuse.org/repositories/home:/gambas:/master//xUbuntu_24.04/ /\' | sudo tee /etc/apt/sources.list.d/home:gambas:master.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:master//xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_master.gpg > /dev/null
For Ubuntu 24.10:
$ echo \'deb http://download.opensuse.org/repositories/home:/gambas:/master//xUbuntu_24.10/ /\' | sudo tee /etc/apt/sources.list.d/home:gambas:master.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:master//xUbuntu_22.10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_master.gpg > /dev/null
Next do:
For upgrade from official:
For fresh install:
$ sudo apt-get install gambas3
After upgrading from official you might need to follow up with this to fully upgrade gambas3 to master version:
$ sudo apt --fix-broken install
$ sudo apt-get install gambas3
Installing stable version from openSUSE build server
If you have previously installed master from openSUSE build server make sure to first (with elevated rights) do:
$ sudo rm -fr /etc/apt/sources.list.d/home:gambas:master.list
$ sudo rm -fr /etc/apt/trusted.gpg.d/home_gambas_master.gpg
In your Ubuntu installation, open a terminal and enter these commands with elevated rights (sudo):
For Ubuntu 20.04 focal:
$ echo \'deb http://download.opensuse.org/repositories/home:/gambas:/stable/xUbuntu_20.04/ /\' | sudo tee /etc/apt/sources.list.d/home:gambas:stable.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:stable/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_stable.gpg > /dev/null
For Ubuntu 22.04 jammy:
$ echo \'deb http://download.opensuse.org/repositories/home:/gambas:/stable//xUbuntu_22.04/ /\' | sudo tee /etc/apt/sources.list.d/home:gambas:stable.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:stable//xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_stable.gpg > /dev/null
For Ubuntu 24.04 noble:
$ echo \'deb http://download.opensuse.org/repositories/home:/gambas:/stable//xUbuntu_24.04/ /\' | sudo tee /etc/apt/sources.list.d/home:gambas:stable.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:stable//xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_stable.gpg > /dev/null
For Ubuntu 24.10:
$ echo \'deb http://download.opensuse.org/repositories/home:/gambas:/stable//xUbuntu_24.10/ /\' | sudo tee /etc/apt/sources.list.d/home:gambas:stable.list
$ curl -fsSL https://download.opensuse.org/repositories/home:gambas:stable//xUbuntu_22.10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_stable.gpg > /dev/null
Next do:
For upgrade from official:
For fresh install:
$ sudo apt-get install gambas3
After upgrading from official you might need to follow up with this to fully upgrade gambas3 to master version:
$ sudo apt --fix-broken install
$ sudo apt-get install gambas3