I created a Vagrant window that shows an example of a full installation: https://github.com/FlipperPA/django-python3-vagrant/
... .
sudo apt-get install unixodbc unixodbc-dev freetds-dev freetds-bin tdsodbc
odbcinst.ini /etc/odbcinst.ini:
[FreeTDS]
Description = v0.91 with protocol v7.2
Driver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so
DSN odbc.ini:
[dbserverdsn]
Driver = FreeTDS
Server = dbserver.domain.com
Port = 1433
TDS_Version = 7.2
... DSN freetds.conf:
[global]
tds version = 7.2
port = 1433
; dump file = /tmp/freetds.log
; debug flags = 0xffff
; timeout = 10
; connect timeout = 10
text size = 64512
[dbserverdsn]
host = dbserver.domain.com
port = 1433
tds version = 7.2
, tsql ( FreeTDS) isql ( unixODBC FreeTDS).