GDK Installation

Ubuntu

Install

Install GDK Package

$ sudo apt install gdk

Launch GDK

$ gdk &

PCI

For a Galil PCI controller, e.g. DMC-1800, 1802, 1806, or 1417, see the gclib installation instructions for building the PCI driver.

Uninstall

To uninstall GDK, use the following command.

$ sudo apt remove gdk

Upgrading

To upgrade GDK to the newest release, use the following command.

$ sudo apt install --only-upgrade gdk

List All Versions

Galil keeps older versions of GDK available for users. To list all versions use the following command.

$ apt-cache madison gdk

Example
user@locahost:~$ apt-cache madison gdk
       gdk | 1.0.25.680-1 | http://files/software/test/pub/ubuntu/20.04  Packages
       gdk | 1.0.24.655-1 | http://files/software/test/pub/ubuntu/20.04  Packages
    

Installing Older Versions

apt does not automatically downgrade dependencies. GDK requires gclib and gcaps. To find the required versions, use the apt show command with the desired version of GDK. Then apt install can be used with the versions.

Example
$ apt show gdk=1.0.25.681-1
Package: gdk
Version: 1.0.25.681-1
Priority: optional
Section: devel
Maintainer: Galil Motion Control 
Installed-Size: unknown
Depends: gclib (= 507-1), gcapsd (= 195-1)
Homepage: http://www.galil.com
Download-Size: 73.7 MB
APT-Sources: http://http://www.galil.com/sw/pub/ubuntu/18.04  Packages
Description: GDK Design Kit is Galil's application development environment for Galil Motion Controllers and PLCs.
 See http://galil.com/downloads/software/gdk for more information.
    
$ sudo apt install gdk=1.0.25.681-1 gclib=507-1 gcapsd=195-1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be DOWNGRADED:
  gcapsd gclib gdk
0 upgraded, 0 newly installed, 3 downgraded, 0 to remove and 29 not upgraded.
Need to get 76.3 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y