@@ -122,9 +122,9 @@ In order to preview new features and provide early feedback, it's recommended th
122
122
### SLES and variants
123
123
124
124
> [ !NOTE]
125
- > Your distribution and version, and identify the closest entry (by major, then minor) for it under ` https://packages.microsoft.com/config/sles/ ` .
125
+ > For your distribution and version, identify the closest entry for it (by major, then minor) under ` https://packages.microsoft.com/config/sles/ ` .
126
126
127
- In the following commands, replace * [ distro] * and * [ version] * with the information you've identified:
127
+ 1 . In the following commands, replace * [ distro] * and * [ version] * with the information you've identified:
128
128
129
129
``` bash
130
130
sudo zypper addrepo -c -f -n microsoft-[channel] https://packages.microsoft.com/config/[distro]/[version]/[channel].repo
@@ -139,101 +139,103 @@ In order to preview new features and provide early feedback, it's recommended th
139
139
sudo zypper addrepo -c -f -n microsoft-prod https://packages.microsoft.com/config/sles/12/prod.repo
140
140
```
141
141
142
- - Install the Microsoft GPG public key:
142
+ 2 . Install the Microsoft GPG public key:
143
143
144
- ``` bash
145
- sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
146
- ```
144
+ ``` bash
145
+ sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
146
+ ```
147
147
148
148
### Ubuntu and Debian systems
149
149
150
- - Install ` curl ` if it isn't installed yet:
150
+ 1 . Install ` curl ` if it isn't installed yet:
151
151
152
- ``` bash
153
- sudo apt-get install curl
154
- ```
152
+ ``` bash
153
+ sudo apt-get install curl
154
+ ```
155
155
156
- - Install ` libplist-utils ` if it isn't installed yet:
156
+ 2 . Install ` libplist-utils ` if it isn't installed yet:
157
157
158
- ``` bash
159
- sudo apt-get install libplist-utils
160
- ```
158
+ ``` bash
159
+ sudo apt-get install libplist-utils
160
+ ```
161
161
162
- > [ !NOTE]
163
- > Your distribution and version, and identify the closest entry (by major, then minor) for it under ` https://packages.microsoft.com/config/[distro]/ ` .
162
+ > [ !NOTE]
163
+ > For your distribution and version, identify the closest entry for it (by major, then minor) under ` https://packages.microsoft.com/config/[distro]/ ` .
164
164
165
- In the following command, replace * [ distro] * and * [ version] * with the information you've identified:
165
+ 3 . In the following command, replace * [ distro] * and * [ version] * with the information you've identified:
166
166
167
- ``` bash
168
- curl -o microsoft.list https://packages.microsoft.com/config/[distro]/[version]/[channel].list
169
- ```
167
+ ``` bash
168
+ curl -o microsoft.list https://packages.microsoft.com/config/[distro]/[version]/[channel].list
169
+ ```
170
170
171
- > [ !TIP]
172
- > Use hostnamectl command to identify system related information including release * [ version] * .
171
+ > [ !TIP]
172
+ > Use hostnamectl command to identify system related information including release * [ version] * .
173
173
174
- For example, if you're running Ubuntu 18.04 and wish to deploy Microsoft Defender for Endpoint on Linux from the ` prod ` channel:
174
+ For example, if you're running Ubuntu 18.04 and wish to deploy Microsoft Defender for Endpoint on Linux from the ` prod ` channel:
175
175
176
- ``` bash
177
- curl -o microsoft.list https://packages.microsoft.com/config/ubuntu/18.04/prod.list
178
- ```
176
+ ``` bash
177
+ curl -o microsoft.list https://packages.microsoft.com/config/ubuntu/18.04/prod.list
178
+ ```
179
179
180
- - Install the repository configuration:
180
+ 4 . Install the repository configuration:
181
181
182
- ``` bash
183
- sudo mv ./microsoft.list /etc/apt/sources.list.d/microsoft-[channel].list
184
- ```
182
+ ``` bash
183
+ sudo mv ./microsoft.list /etc/apt/sources.list.d/microsoft-[channel].list
184
+ ```
185
185
186
- For example, if you chose ` prod ` channel:
186
+ For example, if you chose ` prod ` channel:
187
187
188
- ``` bash
189
- sudo mv ./microsoft.list /etc/apt/sources.list.d/microsoft-prod.list
190
- ```
188
+ ``` bash
189
+ sudo mv ./microsoft.list /etc/apt/sources.list.d/microsoft-prod.list
190
+ ```
191
191
192
- - Install the ` gpg ` package if not already installed:
192
+ 5 . Install the ` gpg ` package if not already installed:
193
193
194
- ``` bash
195
- sudo apt-get install gpg
196
- ```
194
+ ``` bash
195
+ sudo apt-get install gpg
196
+ ```
197
197
198
- If ` gpg ` isn't available, then install ` gnupg ` .
198
+ If ` gpg ` isn't available, then install ` gnupg ` .
199
199
200
- ``` bash
201
- sudo apt-get install gnupg
202
- ```
200
+ ``` bash
201
+ sudo apt-get install gnupg
202
+ ```
203
+
204
+ 6 . Install the Microsoft GPG public key:
203
205
204
- - Install the Microsoft GPG public key:
205
- - For Debian 11 and earlier, run the following command.
206
+ - For Debian 11 and earlier, run the following command.
206
207
207
- ``` bash
208
- curl -sSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/microsoft.gpg > /dev/null
209
- ```
208
+ ``` bash
209
+ curl -sSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/microsoft.gpg > /dev/null
210
+ ```
210
211
211
- - For Debian 12 and later, run the following command.
212
+ - For Debian 12 and later, run the following command.
212
213
213
- ` ` ` bash
214
- curl -sSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /usr/share/keyrings/microsoft-prod.gpg > /dev/null
215
- ` ` `
214
+ ` ` ` bash
215
+ curl -sSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /usr/share/keyrings/microsoft-prod.gpg > /dev/null
216
+ ` ` `
216
217
217
- - Install the HTTPS driver if not already installed:
218
+ 7. Install the HTTPS driver if not already installed:
218
219
219
- ` ` ` bash
220
- sudo apt-get install apt-transport-https
221
- ` ` `
220
+ ` ` ` bash
221
+ sudo apt-get install apt-transport-https
222
+ ` ` `
222
223
223
- - Update the repository metadata:
224
+ 8. Update the repository metadata:
225
+
226
+ ` ` ` bash
227
+ sudo apt-get update
228
+ ` ` `
224
229
225
- ` ` ` bash
226
- sudo apt-get update
227
- ` ` `
228
230
# ## Mariner
229
231
230
- - Install ` dnf-plugins-core` if it isn' t installed yet:
232
+ 1. Install ` dnf-plugins-core` if it isn' t installed yet:
231
233
232
- ```bash
233
- sudo dnf install dnf-plugins-core
234
- ```
234
+ ```bash
235
+ sudo dnf install dnf-plugins-core
236
+ ```
235
237
236
- - Configure and Enable the required repositories
238
+ 2. Configure and enable the required repositories.
237
239
238
240
> [!NOTE]
239
241
> On Mariner, Insider Fast Channel is not available.
0 commit comments