GDK Installation

Red Hat 7 and CentOS 7

Install

Install GDK Package

$ sudo yum 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.

Install nss-mdns

With a fresh install of GDK/gclib you won't be able to use GDK Connect until the nss-mdns package is installed.

$ sudo yum install epel-release

$ sudo yum install nss-mdns

Uninstall

To uninstall GDK, use the following command.

$ sudo yum remove gdk

Upgrading

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

$ sudo yum upgrade gdk

List All Versions

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

$ yum list gdk --showduplicates

Example
$ yum list gdk --showduplicates
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos-distro.1gservers.com
 * epel: sjc.edge.kernel.org
 * extras: mirror.shastacoe.net
 * updates: mirrors.oit.uci.edu
Available Packages
gdk.x86_64                        1.0.14.531-1                  galil
gdk.x86_64                        1.0.15.543-1                  galil
gdk.x86_64                        1.0.16.566-1                  galil
gdk.x86_64                        1.0.16.581-1                  galil
gdk.x86_64                        1.0.17.584-1                  galil
gdk.x86_64                        1.0.18.601-1                  galil
gdk.x86_64                        1.0.19.604-1                  galil
gdk.x86_64                        1.0.20.611-1                  galil
gdk.x86_64                        1.0.21.621-1                  galil
gdk.x86_64                        1.0.21.623-1                  galil
gdk.x86_64                        1.0.21.625-1                  galil
gdk.x86_64                        1.0.21.626-1                  galil
gdk.x86_64                        1.0.21.629-1                  galil
gdk.x86_64                        1.0.22.634-1                  galil
gdk.x86_64                        1.0.22.635-1                  galil
gdk.x86_64                        1.0.23.645-1                  galil
gdk.x86_64                        1.0.23.646-1                  galil
gdk.x86_64                        1.0.24.655-1                  galil
gdk.x86_64                        1.0.25.658-1                  galil
gdk.x86_64                        1.0.25.661-1                  galil
gdk.x86_64                        1.0.25.663-1                  galil
gdk.x86_64                        1.0.25.665-1                  galil
gdk.x86_64                        1.0.25.666-1                  galil
gdk.x86_64                        1.0.25.669-1                  galil
gdk.x86_64                        1.0.25.670-1                  galil
gdk.x86_64                        1.0.25.677-1                  galil
gdk.x86_64                        1.0.25.680-1                  galil

Installing Older Versions

Append the desired version's information after the package name.

$ sudo yum install gdk-<version>

Example
[user@localhost ~]$ sudo yum install gdk-1.0.25.670-1
Last metadata expiration check: 3:10:47 ago on Tue 05 May 2020 06:56:06 AM PDT.
Dependencies resolved.
==================================================================================================
 Package           Architecture      Version                    Repository                   Size
==================================================================================================
Installing:
 gdk               x86_64            1.0.25.670-1               galil-gdk                75 M
Installing dependencies:
 gcapsd            x86_64            184-1                      galil-gcapsd            727 k
 gclib             x86_64            501-1                      galil-gclib             1.7 M

Transaction Summary
==================================================================================================
Install  3 Packages

Total download size: 77 M
Installed size: 253 M
Is this ok [y/N]:

Downgrading to Older Version

If a newer version of GDK is already installed, use the downgrade option.

$ sudo yum downgrade gdk-<version> gclib-<version> gcapsd-<version>

If you don't know the gclib and gcaps versions, you can look them up with repoquery.

Example
$ repoquery --requires gdk-1.0.111.695-1 | grep "gclib ="
gclib = 527
$ repoquery --requires gdk-1.0.111.695-1 | grep "gcapsd ="
gcapsd = 178
sudo yum downgrade gdk-1.0.111.695-1 gclib-527 gcapsd-178