Last active
November 4, 2022 09:44
-
-
Save metaskills/f06eb9410e804d2555abc614b3fa89a9 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 Install Latest FreeTDS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)