-
-
Save metaskills/f06eb9410e804d2555abc614b3fa89a9 to your computer and use it in GitHub Desktop.
$ 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 |
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
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)
You need to remove it using sudo apt-get autoremove freetds-dev freetds-bin
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?
After
sudo apt-get autoremove freetds-dev freetds-bin
, I am not able to runtsql -C
anymore and it was removed.
Any idea how I can re-install backtsql
again?
Just reinstall freetds-bin. tsql is one of the command line utilities.
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