26.1.5.2. Installing MyODBC from a Binary Tarball Distribution
To install the driver from a tarball distribution
(.tar.gz
file), download the latest version
of the driver for your operating system and follow these steps:
shell> su root
shell> gunzip MyODBC-3.51.01-i686-pc-linux.tar.gz
shell> tar xvf MyODBC-3.51.01-i686-pc-linux.tar
shell> cd MyODBC-3.51.01-i686-pc-linux
Read the installation instructions in the
INSTALL-BINARY
file and execute these
commands.
shell> cp libmyodbc* /usr/local/lib
shell> cp odbc.ini /usr/local/etc
shell> export ODBCINI=/usr/local/etc/odbc.ini
Then proceed on to Section 26.1.9.3, “Configuring a MyODBC DSN on Unix”, to configure
the DSN for MyODBC. For more information, refer to the
INSTALL-BINARY
file that comes with your
distribution.