Skip to content

Commit 2fad44a

Browse files
Merge pull request #34845 from David-Engel/patch-1
Add previously supported OS versions to install script for ODBC v18
2 parents 166b543 + 6f7b4a3 commit 2fad44a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ 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.
44
author: David-Engel
55
ms.author: davidengel
6-
ms.date: 04/28/2025
6+
ms.date: 07/30/2025
77
ms.service: sql
88
ms.subservice: connectivity
99
ms.topic: conceptual
@@ -61,7 +61,7 @@ sudo apk add --allow-untrusted mssql-tools18_18.4.1.1-1_$architecture.apk
6161
### [Debian](#tab/debian18-install)
6262

6363
```bash
64-
if ! [[ "11 12" == *"$(grep VERSION_ID /etc/os-release | cut -d '"' -f 2 | cut -d '.' -f 1)"* ]];
64+
if ! [[ "9 10 11 12" == *"$(grep VERSION_ID /etc/os-release | cut -d '"' -f 2 | cut -d '.' -f 1)"* ]];
6565
then
6666
echo "Debian $(grep VERSION_ID /etc/os-release | cut -d '"' -f 2 | cut -d '.' -f 1) is not currently supported.";
6767
exit;
@@ -92,7 +92,7 @@ sudo apt-get install -y libgssapi-krb5-2
9292
### [RHEL and Oracle Linux](#tab/redhat18-install)
9393

9494
```bash
95-
if ! [[ "8 9" == *"$(grep VERSION_ID /etc/os-release | cut -d '"' -f 2 | cut -d '.' -f 1)"* ]];
95+
if ! [[ "7 8 9" == *"$(grep VERSION_ID /etc/os-release | cut -d '"' -f 2 | cut -d '.' -f 1)"* ]];
9696
then
9797
echo "RHEL $(grep VERSION_ID /etc/os-release | cut -d '"' -f 2 | cut -d '.' -f 1) is not currently supported.";
9898
exit;
@@ -146,7 +146,7 @@ sudo zypper install -y unixODBC-devel
146146
### [Ubuntu](#tab/ubuntu18-install)
147147

148148
```bash
149-
if ! [[ "20.04 22.04 24.04 24.10" == *"$(grep VERSION_ID /etc/os-release | cut -d '"' -f 2)"* ]];
149+
if ! [[ "18.04 20.04 22.04 24.04 24.10" == *"$(grep VERSION_ID /etc/os-release | cut -d '"' -f 2)"* ]];
150150
then
151151
echo "Ubuntu $(grep VERSION_ID /etc/os-release | cut -d '"' -f 2) is not currently supported.";
152152
exit;

0 commit comments

Comments
 (0)