Created
November 16, 2018 01:12
-
-
Save naranjja/24477be7d48c3d29539233b1cdc8f465 to your computer and use it in GitHub Desktop.
Install ODBC Driver 17 for SQL Server on Ubuntu 18.04
This file contains hidden or 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 su | |
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - | |
curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list > /etc/apt/sources.list.d/mssql-release.list | |
sudo apt-get update | |
sudo ACCEPT_EULA=Y apt-get install msodbcsql17 | |
sudo ACCEPT_EULA=Y apt-get install mssql-tools | |
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profile | |
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc | |
source ~/.bashrc | |
sudo apt-get install unixodbc unixodbc-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment