Skip to content

Commit 1d2a953

Browse files
authored
20260206-polybase-linux-update (#36571)
1 parent d3e03ca commit 1d2a953

1 file changed

Lines changed: 58 additions & 38 deletions

File tree

docs/relational-databases/polybase/polybase-linux-setup.md

Lines changed: 58 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to install SQL Server PolyBase on Linux. PolyBase enables
55
author: MikeRayMSFT
66
ms.author: mikeray
77
ms.reviewer: dakryze, hudequei, randolphwest
8-
ms.date: 09/12/2025
8+
ms.date: 02/06/2026
99
ms.service: sql
1010
ms.subservice: linux
1111
ms.topic: install-set-up-deploy
@@ -18,15 +18,21 @@ monikerRange: ">=sql-server-linux-ver15 || >=sql-server-ver15"
1818

1919
[!INCLUDE [sqlserver2019-linux](../../includes/applies-to-version/sqlserver2019-linux.md)]
2020

21-
The following steps install [PolyBase](polybase-guide.md) (`mssql-server-polybase` and `mssql-server-polybase-hadoop`) on Linux. PolyBase enables you to run external queries against remote data sources.
21+
The following steps install [PolyBase](polybase-guide.md) (`mssql-server-polybase` and `mssql-server-polybase-hadoop`) on Linux. With PolyBase, you can run external queries against remote data sources.
2222

2323
## Prerequisites
2424

2525
Before you install PolyBase, first [install SQL Server](../../linux/sql-server-linux-setup.md#platforms). This step configures the keys and repositories that you use when installing the `mssql-server-polybase` and `mssql-server-polybase-hadoop` package.
2626

27+
## Support for ODBC data sources
28+
29+
**Applies to**: [!INCLUDE [sssql25-md](../../includes/sssql25-md.md)]
30+
31+
Starting in [!INCLUDE [sssql25-md](../../includes/sssql25-md.md)], PolyBase supports ODBC data sources on Linux. ODBC data source support for Linux requires the .NET runtime, which is automatically downloaded and installed during PolyBase setup. Internet access is required during the installation.
32+
2733
## Limitations
2834

29-
The length of the hostname where [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] is installed needs to be 15 characters or less.
35+
The hostname where [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] is installed has a maximum length of 15 characters.
3036

3137
PolyBase isn't supported on [!INCLUDE [sssql17-md](../../includes/sssql17-md.md)] for Linux.
3238

@@ -46,14 +52,14 @@ Install PolyBase for your operating system:
4652

4753
### Install on RHEL
4854

49-
**Applies to:** [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] and later versions.
55+
**Applies to**: [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] and later versions.
5056

5157
1. Download the Microsoft Red Hat repository configuration file.
5258

53-
For RHEL 10 (in preview):
59+
For RHEL 10:
5460

5561
```console
56-
sudo curl -o /etc/yum.repos.d/msprod.repo https://packages.microsoft.com/config/rhel/10/mssql-server-2025.repo
62+
sudo curl -o /etc/yum.repos.d/msprod.repo https://packages.microsoft.com/config/rhel/10/prod.repo
5763
```
5864

5965
For RHEL 9:
@@ -74,41 +80,41 @@ Install PolyBase for your operating system:
7480
sudo curl -o /etc/yum.repos.d/msprod.repo https://packages.microsoft.com/config/rhel/7/prod.repo
7581
```
7682

77-
1. Use the following command to install the `mssql-server-polybase` on Red Hat Enterprise Linux.
83+
1. Use the following command to install the `mssql-server-polybase` on Red Hat Enterprise Linux:
7884

7985
```console
8086
sudo yum install -y mssql-server-polybase
8187
```
8288

83-
1. You're prompted to restart the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance. Use the following command to do so.
89+
1. Restart the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance when prompted:
8490

8591
```console
8692
sudo systemctl restart mssql-server
8793
```
8894

8995
> [!NOTE]
90-
> After installation, you must [enable the PolyBase feature](#enable).
96+
> After installation, [enable the PolyBase feature](#enable).
9197
9298
::: moniker range="<=sql-server-linux-ver15 || <=sql-server-ver15"
9399

94100
### Install Hadoop on RHEL
95101

96-
**Applies to:** [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] only.
102+
**Applies to**: [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] only.
97103

98-
1. Use the following command to install the `mssql-server-polybase-hadoop`.
104+
1. Use the following command to install the `mssql-server-polybase-hadoop` package:
99105

100106
```console
101107
sudo yum install -y mssql-server-polybase-hadoop
102108
```
103109

104-
The PolyBase Hadoop package has dependencies on the following packages:
110+
The PolyBase Hadoop package depends on the following packages:
105111

106112
- `mssql-server`
107113
- `mssql-server-polybase`
108114
- `mssql-server-extensibility`
109115
- `mssql-zulu-jre-11`
110116

111-
1. Installation prompts to restart `launchpadd`. Use the following command to do so.
117+
1. Restart `launchpadd` when prompted:
112118

113119
```console
114120
sudo systemctl restart mssql-launchpadd
@@ -117,15 +123,15 @@ Install PolyBase for your operating system:
117123
> [!NOTE]
118124
> After installation, you must [set the Hadoop connectivity level](../../database-engine/configure-windows/polybase-connectivity-configuration-transact-sql.md#c-set-hadoop-connectivity).
119125
120-
If you need an offline installation, locate the PolyBase package download in the [Release notes for SQL Server 2019 on Linux](../../linux/sql-server-linux-release-notes-2019.md). Then use the same offline installation steps described in the article [Install SQL Server](../../linux/sql-server-linux-setup.md#offline).
126+
If you need an offline installation, find the PolyBase package download in the [Release notes for SQL Server 2019 on Linux](../../linux/sql-server-linux-release-notes-2019.md). Then use the same offline installation steps described in the article [Install SQL Server](../../linux/sql-server-linux-setup.md#offline).
121127

122128
::: moniker-end
123129

124130
## [Ubuntu](#tab/ubuntu)
125131

126132
### Install on Ubuntu
127133

128-
**Applies to:** [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] and later versions.
134+
**Applies to**: [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] and later versions.
129135

130136
1. Register the Microsoft Ubuntu repository.
131137

@@ -153,58 +159,64 @@ If you need an offline installation, locate the PolyBase package download in the
153159
curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
154160
```
155161

156-
1. Use the following command to install the `mssql-server-polybase` on Ubuntu.
162+
For Ubuntu 24.04:
163+
164+
```console
165+
curl https://packages.microsoft.com/config/ubuntu/24.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
166+
```
167+
168+
1. Use the following command to install the `mssql-server-polybase` on Ubuntu:
157169

158170
```console
159171
sudo apt-get install mssql-server-polybase
160172
```
161173

162-
1. When prompted, restart the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance.
174+
1. Restart the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance when prompted:
163175

164176
```console
165177
sudo systemctl restart mssql-server
166178
```
167179

168180
> [!NOTE]
169-
> After installation, you must [enable the PolyBase feature](#enable).
181+
> After installation, [enable the PolyBase feature](#enable).
170182
171-
If you need an offline installation, locate the PolyBase package download in the [Release notes for SQL Server 2019 on Linux](../../linux/sql-server-linux-release-notes-2019.md). Then use the same offline installation steps described in the article [Install SQL Server](../../linux/sql-server-linux-setup.md#offline).
183+
If you need an offline installation, find the PolyBase package download in the release notes for [SQL Server 2019](../../linux/sql-server-linux-release-notes-2019.md), [SQL Server 2022](../../linux/sql-server-linux-release-notes-2022.md), or [SQL Server 2025](../../linux/sql-server-linux-release-notes-2025.md). Then use the same offline installation steps described in the article [Install SQL Server](../../linux/sql-server-linux-setup.md#offline).
172184

173185
::: moniker range="<=sql-server-linux-ver15 || <=sql-server-ver15"
174186

175187
### Install Hadoop on Ubuntu
176188

177-
**Applies to:** [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] only.
189+
**Applies to**: [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] only.
178190

179-
1. Use the following command to install the `mssql-server-polybase-hadoop`.
191+
1. Use the following command to install the `mssql-server-polybase-hadoop` package:
180192

181193
```console
182194
sudo apt-get install mssql-server-polybase-hadoop
183195
```
184196

185-
The PolyBase Hadoop package has dependencies on the following packages:
197+
The PolyBase Hadoop package depends on the following packages:
186198

187199
- `mssql-server`
188200
- `mssql-server-polybase`
189201
- `mssql-server-extensibility`
190202
- `mssql-zulu-jre-11`
191203

192-
1. Installation prompts to restart `launchpadd`. Use the following command to do so.
204+
1. Restart `launchpadd` when prompted:
193205

194206
```console
195207
sudo systemctl restart mssql-launchpadd
196208
```
197209

198210
> [!NOTE]
199-
> After installation, you must [set the Hadoop connectivity level](../../relational-databases/polybase/polybase-configure-hadoop.md#configure-hadoop-connectivity). This step only applies to [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)].
211+
> After installation, you must [set the Hadoop connectivity level](polybase-configure-hadoop.md#configure-hadoop-connectivity). This step only applies to [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)].
200212
201213
::: moniker-end
202214

203215
## [SUSE Linux Enterprise Server (SLES)](#tab/sles)
204216

205217
### Install on SLES
206218

207-
**Applies to:** [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] and later versions.
219+
**Applies to**: [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] and later versions.
208220

209221
1. Add the Microsoft [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] repository to Zypper.
210222

@@ -222,30 +234,30 @@ If you need an offline installation, locate the PolyBase package download in the
222234
sudo zypper --gpg-auto-import-keys refresh
223235
```
224236

225-
1. Use the following commands to install the `mssql-server-polybase` on SUSE Linux Enterprise Server.
237+
1. Use the following commands to install the `mssql-server-polybase` package on SUSE Linux Enterprise Server:
226238

227239
```console
228240
sudo zypper install mssql-server-polybase
229241
```
230242

231-
1. You're prompted to restart the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance. Use the following command to do so.
243+
1. Restart the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance when prompted:
232244

233245
```console
234246
sudo systemctl restart mssql-server
235247
```
236248

237249
> [!NOTE]
238-
> After installation, you must [enable the PolyBase feature](#enable).
250+
> After installation, [enable the PolyBase feature](#enable).
239251
240-
If you need an offline installation, locate the PolyBase package download in the [Release notes for SQL Server 2019 on Linux](../../linux/sql-server-linux-release-notes-2019.md). Then use the same offline installation steps described in the article [Install SQL Server](../../linux/sql-server-linux-setup.md#offline).
252+
If you need an offline installation, find the PolyBase package download in the [Release notes for SQL Server 2019 on Linux](../../linux/sql-server-linux-release-notes-2019.md). Then use the same offline installation steps described in the article [Install SQL Server](../../linux/sql-server-linux-setup.md#offline).
241253

242254
---
243255

244256
<a id="enable"></a>
245257

246258
## Enable PolyBase
247259

248-
After installation, PolyBase must be enabled to access its features. Connect to the installed [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance and use the following Transact-SQL command to enable.
260+
After installation, enable PolyBase to access its features. Connect to the installed [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance and run the following Transact-SQL command:
249261

250262
```sql
251263
EXECUTE sp_configure
@@ -257,7 +269,7 @@ RECONFIGURE WITH OVERRIDE;
257269

258270
### Trace flag
259271

260-
**Applies to:** [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)]
272+
**Applies to**: [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)]
261273

262274
To use PolyBase capabilities on Linux, you must enable [trace flag 13702](../../t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql.md#tf13702) during SQL Server start up. For more information, see [Configure SQL Server on Linux with the mssql-conf tool](../../linux/sql-server-linux-configure-mssql-conf.md).
263275

@@ -269,7 +281,7 @@ If you already have `mssql-server-polybase` installed, you can update to the lat
269281

270282
### RHEL with Hadoop
271283

272-
**Applies to:** [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] only.
284+
**Applies to**: [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] only.
273285

274286
```console
275287
sudo yum remove -y mssql-server-polybase-hadoop
@@ -287,7 +299,7 @@ sudo yum check-update
287299
sudo yum install -y mssql-server-polybase
288300
```
289301

290-
You're prompted to restart the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance. Use the following command to do so.
302+
Restart the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance when prompted:
291303

292304
```console
293305
sudo systemctl restart mssql-server
@@ -297,7 +309,7 @@ sudo systemctl restart mssql-server
297309

298310
### Ubuntu with Hadoop
299311

300-
**Applies to:** [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] only.
312+
**Applies to**: [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] only.
301313

302314
```console
303315
sudo apt-get remove mssql-server-polybase-hadoop
@@ -315,7 +327,7 @@ sudo apt-get update
315327
sudo apt-get install mssql-server-polybase
316328
```
317329

318-
You're prompted to restart the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance. Use the following command to do so.
330+
Restart the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance when prompted:
319331

320332
```console
321333
sudo systemctl restart mssql-server
@@ -331,7 +343,7 @@ sudo zypper refresh
331343
sudo zypper install mssql-server-polybase
332344
```
333345

334-
You're prompted to restart the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance. Use the following command to do so.
346+
Restart the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance when prompted:
335347

336348
```console
337349
sudo systemctl restart mssql-server
@@ -340,11 +352,19 @@ sudo systemctl restart mssql-server
340352
---
341353

342354
> [!NOTE]
343-
> After installation, you must [enable the PolyBase feature](#enable).
355+
> After installation, [enable the PolyBase feature](#enable).
356+
357+
## Known issues
358+
359+
### Offline installation isn't available for SQL Server 2025
360+
361+
**Applies to**: [!INCLUDE [sssql25-md](../../includes/sssql25-md.md)]
362+
363+
Currently, installing PolyBase on Linux for [!INCLUDE [sssql25-md](../../includes/sssql25-md.md)] requires internet access because the setup downloads the .NET runtime. An offline installation method will be provided in a future update.
344364

345365
## Related links
346366

347-
PolyBase on Linux can access the following data sources. Follow the provided links for more information on how to create an external table from these sources on PolyBase is enabled.
367+
PolyBase on Linux can access the following data sources. Use these links for information on how to create an external table when PolyBase is enabled:
348368

349369
- [SQL Server and Azure SQL](polybase-configure-sql-server.md)
350370
- [Hadoop](polybase-configure-hadoop.md)

0 commit comments

Comments
 (0)