Download the Teradata ODBC driver for Linux from the Teradata Downloads page. A Teradata account is required to download the driver. Download the file tdodbc2000__linux_x8664.20.00.00.66-1.tar.gz to your local machine.
If you are using an AWS EC2 instance, open a new terminal window on your local machine and use scp to transfer the file:
scp -i ~/.ssh/<your-key.pem> ~/Downloads/tdodbc2000__linux_x8664.20.00.00.66-1.tar.gz ubuntu@<your-public-ip>:/home/ubuntu/
Back in your SSH session, extract and convert the driver package to a Debian-compatible format, then install it:
tar -xzf tdodbc2000__linux_x8664.20.00.00.66-1.tar.gz \
&& alien -d tdodbc2000/tdodbc2000-20.00.00.66-1.x86_64.rpm \
&& dpkg -i tdodbc2000_20.00.00.66-2_amd64.deb