0 / 0
Installing the driver package on Linux or PowerLinux

Installing the driver package on Linux or PowerLinux

You can install the Watson™ Query driver package on Linux® or PowerLinux by using installDSDriver.

Before you begin

Before you try to connect to your Watson Query instance, verify that you have the prerequisites.

On PowerLinux only, complete the following steps to install the XL C/C++ compiler runtime package.

  1. Download the XL C/C++ compiler runtime package from the FTP site. For example, to use the wget tool to download the runtime package for Linux little endian Ubuntu 14, issue the following command.
    wget ftp://public.dhe.ibm.com/software/server/POWER/Linux/rte/xlcpp/le/ubuntu/dists/trusty/main/binary-ppc64el/*
  2. Install the runtime package by issuing the following command.
    sudo dpkg -iG *.deb

Procedure

  1. Expand the compressed driver package file that you downloaded earlier.
    gunzip file_name.tar.gz
    tar -xvf file_name.tar
    A dsdriver subdirectory is created in the directory where you ran the decompression commands.
  2. Extract the Java™ and ODBC/CLI drivers.
    1. In the dsdriver subdirectory, run the installDSDriver command.
      The installDSDriver command creates the db2profile and db2cshrc script files in the dsdriver directory.
    2. Run one of the following script files based on your shell environment:
      Bash or Korn shell
      source db2profile
      C shell
      source db2cshrc

What to do next

To be able to connect your local applications or client tools to your Watson Query instance, configure your local environment.
Generative AI search and answer
These answers are generated by a large language model in watsonx.ai based on content from the product documentation. Learn more