Menu
Simba Technologies
Simba Technologies

Simba Presto ODBC Driver With SQL Connector 1.2.2
Installation and Configuration Guide

Simba > Drivers > Presto > ODBC Installation Guide > Linux > Installation > Installing the Driver

Installing the Driver Using the RPM File

On 64-bit editions of Linux, you can execute both 32- and 64-bit applications. However, 64-bit applications must use 64-bit drivers, and 32-bit applications must use 32-bit drivers. Make sure to install and use the version of the driver that matches the bitness of the client application:

  • SimbaPrestoODBC-32bit-[Version]-[Release].rpm for the 32-bit driver
  • SimbaPrestoODBC-64bit-[Version]-[Release].rpm for the 64-bit driver

The placeholders in the file names are defined as follows:

  • [Version] is the version number of the driver.
  • [Release] is the release number for this version of the driver.

You can install both the 32-bit and 64-bit versions of the driver on the same machine.

To install the Simba Presto ODBC Driver using the RPM File:

  1. Log in as the root user.
  2. Navigate to the folder containing the RPM package for the driver.
  3. Depending on the Linux distribution that you are using, run one of the following commands from the command line, where [RPMFileName] is the file name of the RPM package:
    • If you are using Red Hat Enterprise Linux or CentOS, run the following command:
    • yum --nogpgcheck localinstall [RPMFileName]

    • Or, if you are using SUSE Linux Enterprise Server, run the following command:
    • zypper install [RPMFileName]

    The Simba Presto ODBC Driver files are installed in the /opt/simba/prestoodbc directory.

    Note:

    If the package manager in your Linux distribution cannot resolve the krb5-libs dependency automatically when installing the driver, then download and manually install the package.

  4. If you received a license file through email, then copy the license file into the /opt/simba/prestoodbc/lib/32 or /opt/simba/prestoodbc/lib/64 folder, depending on the version of the driver that you installed. You must have root privileges when changing the contents of this folder.

Next, configure the environment variables on your machine to make sure that the ODBC driver manager can work with the driver. For more information, see Configuring the ODBC Driver Manager.