Skip to content

Commit b2b3475

Browse files
authored
Merge pull request #18406 from v-makouz/v-makouz-Installation
17.7 Linux driver install instructions
2 parents a5cdbbe + f1270cd commit b2b3475

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

docs/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Install the Microsoft ODBC driver for SQL Server (Linux)
33
description: "Learn how to install the Microsoft ODBC Driver for SQL Server on Linux clients to enable database connectivity."
4-
ms.date: 07/31/2020
4+
ms.date: 01/29/2021
55
ms.prod: sql
66
ms.prod_service: connectivity
77
ms.technology: connectivity
@@ -36,22 +36,22 @@ The following sections explain how to install the Microsoft ODBC driver 17 from
3636

3737
```bash
3838
#Download the desired package(s)
39-
curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.6.1.1-1_amd64.apk
40-
curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/mssql-tools_17.6.1.1-1_amd64.apk
39+
curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.7.1.1-1_amd64.apk
40+
curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/mssql-tools_17.7.1.1-1_amd64.apk
4141

4242

4343
#(Optional) Verify signature, if 'gpg' is missing install it using 'apk add gnupg':
44-
curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.6.1.1-1_amd64.sig
45-
curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/mssql-tools_17.6.1.1-1_amd64.sig
44+
curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.7.1.1-1_amd64.sig
45+
curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/mssql-tools_17.7.1.1-1_amd64.sig
4646

4747
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --import -
48-
gpg --verify msodbcsql17_17.6.1.1-1_amd64.sig msodbcsql17_17.6.1.1-1_amd64.apk
49-
gpg --verify mssql-tools_17.6.1.1-1_amd64.sig mssql-tools_17.6.1.1-1_amd64.apk
48+
gpg --verify msodbcsql17_17.7.1.1-1_amd64.sig msodbcsql17_17.7.1.1-1_amd64.apk
49+
gpg --verify mssql-tools_17.7.1.1-1_amd64.sig mssql-tools_17.7.1.1-1_amd64.apk
5050

5151

5252
#Install the package(s)
53-
sudo apk add --allow-untrusted msodbcsql17_17.6.1.1-1_amd64.apk
54-
sudo apk add --allow-untrusted mssql-tools_17.6.1.1-1_amd64.apk
53+
sudo apk add --allow-untrusted msodbcsql17_17.7.1.1-1_amd64.apk
54+
sudo apk add --allow-untrusted mssql-tools_17.7.1.1-1_amd64.apk
5555
```
5656

5757
> [!NOTE]
@@ -103,7 +103,7 @@ sudo su
103103
#RedHat Enterprise Server 6
104104
curl https://packages.microsoft.com/config/rhel/6/prod.repo > /etc/yum.repos.d/mssql-release.repo
105105

106-
#RedHat Enterprise Server 7
106+
#RedHat Enterprise Server 7 and Oracle Linux 7
107107
curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/mssql-release.repo
108108

109109
#RedHat Enterprise Server 8 and Oracle Linux 8
@@ -172,6 +172,9 @@ curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list > /etc/apt/sou
172172
#Ubuntu 20.04
173173
curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
174174

175+
#Ubuntu 20.10
176+
curl https://packages.microsoft.com/config/ubuntu/20.10/prod.list > /etc/apt/sources.list.d/mssql-release.list
177+
175178
exit
176179
sudo apt-get update
177180
sudo ACCEPT_EULA=Y apt-get install msodbcsql17

0 commit comments

Comments
 (0)