Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ubuntu 16.04 Install Latest FreeTDS
$ sudo apt-get install wget
$ sudo apt-get install build-essential
$ sudo apt-get install libc6-dev
$ wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.00.27.tar.gz
$ tar -xzf freetds-1.00.27.tar.gz
$ cd freetds-1.00.27
$ ./configure --prefix=/usr/local --with-tdsver=7.3
$ make
$ make install
@rah00l

This comment has been minimized.

Copy link

commented Sep 21, 2017

If "ftp.freetds.org" is down

Then in that case download from below http link and follow rest of instructions to install Freetds.

Freetds download link

@rip747

This comment has been minimized.

Copy link

commented Jan 3, 2018

FYI... on Windows Subsystem for Linux with Ubuntu, you have to install autoconf first

sudo apt-get install autoconf

then follow the instruction above for installing FreeTDS, except instead of make install you need to do:

sudo make install

@mike-seekwell

This comment has been minimized.

Copy link

commented Mar 16, 2018

Does anyone know how to make this the "default" version of FreeTDS? When I run tsql -C, it's still showing the older version (v0.91)

@Shanil-shah

This comment has been minimized.

Copy link

commented Jun 19, 2018

You need to remove it using sudo apt-get autoremove freetds-dev freetds-bin

@chan80

This comment has been minimized.

Copy link

commented Apr 30, 2019

After sudo apt-get autoremove freetds-dev freetds-bin, I am not able to run tsql -C anymore and it was removed.
Any idea how I can re-install back tsql again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.