You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
22
22
23
23
## Prerequisites
24
24
25
25
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.
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
+
27
33
## Limitations
28
34
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.
30
36
31
37
PolyBase isn't supported on [!INCLUDE [sssql17-md](../../includes/sssql17-md.md)] for Linux.
32
38
@@ -46,14 +52,14 @@ Install PolyBase for your operating system:
46
52
47
53
### Install on RHEL
48
54
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.
50
56
51
57
1. Download the Microsoft Red Hat repository configuration file.
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:
99
105
100
106
```console
101
107
sudo yum install -y mssql-server-polybase-hadoop
102
108
```
103
109
104
-
The PolyBase Hadoop package has dependencies on the following packages:
110
+
The PolyBase Hadoop package depends on the following packages:
105
111
106
112
-`mssql-server`
107
113
-`mssql-server-polybase`
108
114
-`mssql-server-extensibility`
109
115
-`mssql-zulu-jre-11`
110
116
111
-
1.Installation prompts to restart `launchpadd`. Use the following command to do so.
117
+
1.Restart `launchpadd` when prompted:
112
118
113
119
```console
114
120
sudo systemctl restart mssql-launchpadd
@@ -117,15 +123,15 @@ Install PolyBase for your operating system:
117
123
> [!NOTE]
118
124
> After installation, you must [set the Hadoop connectivity level](../../database-engine/configure-windows/polybase-connectivity-configuration-transact-sql.md#c-set-hadoop-connectivity).
119
125
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).
121
127
122
128
::: moniker-end
123
129
124
130
## [Ubuntu](#tab/ubuntu)
125
131
126
132
### Install on Ubuntu
127
133
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.
129
135
130
136
1. Register the Microsoft Ubuntu repository.
131
137
@@ -153,58 +159,64 @@ If you need an offline installation, locate the PolyBase package download in the
153
159
curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
154
160
```
155
161
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:
157
169
158
170
```console
159
171
sudo apt-get install mssql-server-polybase
160
172
```
161
173
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:
163
175
164
176
```console
165
177
sudo systemctl restart mssql-server
166
178
```
167
179
168
180
> [!NOTE]
169
-
> After installation, you must [enable the PolyBase feature](#enable).
181
+
> After installation, [enable the PolyBase feature](#enable).
170
182
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).
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:
180
192
181
193
```console
182
194
sudo apt-get install mssql-server-polybase-hadoop
183
195
```
184
196
185
-
The PolyBase Hadoop package has dependencies on the following packages:
197
+
The PolyBase Hadoop package depends on the following packages:
186
198
187
199
-`mssql-server`
188
200
-`mssql-server-polybase`
189
201
-`mssql-server-extensibility`
190
202
-`mssql-zulu-jre-11`
191
203
192
-
1.Installation prompts to restart `launchpadd`. Use the following command to do so.
204
+
1.Restart `launchpadd` when prompted:
193
205
194
206
```console
195
207
sudo systemctl restart mssql-launchpadd
196
208
```
197
209
198
210
> [!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)].
200
212
201
213
::: moniker-end
202
214
203
215
## [SUSE Linux Enterprise Server (SLES)](#tab/sles)
204
216
205
217
### Install on SLES
206
218
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.
208
220
209
221
1. Add the Microsoft [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] repository to Zypper.
210
222
@@ -222,30 +234,30 @@ If you need an offline installation, locate the PolyBase package download in the
222
234
sudo zypper --gpg-auto-import-keys refresh
223
235
```
224
236
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:
226
238
227
239
```console
228
240
sudo zypper install mssql-server-polybase
229
241
```
230
242
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:
232
244
233
245
```console
234
246
sudo systemctl restart mssql-server
235
247
```
236
248
237
249
> [!NOTE]
238
-
> After installation, you must [enable the PolyBase feature](#enable).
250
+
> After installation, [enable the PolyBase feature](#enable).
239
251
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).
241
253
242
254
---
243
255
244
256
<aid="enable"></a>
245
257
246
258
## Enable PolyBase
247
259
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:
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).
263
275
@@ -269,7 +281,7 @@ If you already have `mssql-server-polybase` installed, you can update to the lat
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.
344
364
345
365
## Related links
346
366
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:
348
368
349
369
-[SQL Server and Azure SQL](polybase-configure-sql-server.md)
0 commit comments