Go to TogaWare.com Home Page.
GNU/Linux Desktop Survival Guide
by Graham Williams

Teradata bteq

The bteq application is used to connect to a Teradata data warehouse. Its installation will confirm that the data warehouse connection can be established, and hence, SAS/ACCESS Teradata can establish a connection.

Teradata do not support Debian, but the driver works. Install the libraries provided for the i386 architecture:

rpm2cpio tdicu- . | cpio -idv
rpm2cpio TeraGSS_redhatlinux-i386- . | cpio -idv
rpm2cpio piom- . | cpio -idv
rpm2cpio cliv2- . | cpio -idv
rpm2cpio bteq- . | cpio -idv

sudo cp -R opt/teradata /opt
sudo install usr/bin/bteq  /usr/bin/

sudo install usr/lib/* /usr/lib32

sudo ln -s /usr/lib32/errmsg.cat /usr/lib/errmsg.cat
sudo ln -s /usr/lib32/clispb.dat /usr/lib/clispb.dat
sudo ln -s /opt/teradata/teragss/redhatlinux-i386/ \

rm -rf ./opt ./usr

Then simply start bteq:

$ bteq

.LOGON hostname/user

Copyright © 1995-2014 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware.