# Add Microsoft repository curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list > /etc/apt/sources.list.d/mssql-release.list apt-get update ACCEPT_EULA=Y apt-get install -y msodbcsql18

odbcinst -q -d # List installed drivers Using Homebrew (simplest):

# Debian/Ubuntu apt-get install odbc-postgresql yum install postgresql-odbc

odbcinst -j # Shows configuration files and installed drivers Once installed, you must often configure a DSN (Data Source Name) so applications can use the driver.