Skip to content

Instantly share code, notes, and snippets.

@pranaysahith
Last active June 29, 2020 08:31
Show Gist options
  • Save pranaysahith/167e2dd92ac15ac8ccef1f417c119ade to your computer and use it in GitHub Desktop.
Save pranaysahith/167e2dd92ac15ac8ccef1f417c119ade to your computer and use it in GitHub Desktop.
#!/bin/bash
curl -s https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
curl -s https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
apt-get update
ACCEPT_EULA=Y apt-get install msodbcsql17
sudo apt-get -y install unixodbc-dev
sudo apt-get install python3-pip -y
sudo apt-get install python-dev
pip3 install --upgrade pyodbc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment