Skip to content

Commit 1a25b0a

Browse files
committed
Update linux-install-manually.md
1 parent 76dea13 commit 1a25b0a

File tree

1 file changed

+66
-64
lines changed

1 file changed

+66
-64
lines changed

defender-endpoint/linux-install-manually.md

Lines changed: 66 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ In order to preview new features and provide early feedback, it's recommended th
122122
### SLES and variants
123123

124124
> [!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/`.
126126
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:
128128

129129
```bash
130130
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
139139
sudo zypper addrepo -c -f -n microsoft-prod https://packages.microsoft.com/config/sles/12/prod.repo
140140
```
141141

142-
- Install the Microsoft GPG public key:
142+
2. Install the Microsoft GPG public key:
143143

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+
```
147147

148148
### Ubuntu and Debian systems
149149

150-
- Install `curl` if it isn't installed yet:
150+
1. Install `curl` if it isn't installed yet:
151151

152-
```bash
153-
sudo apt-get install curl
154-
```
152+
```bash
153+
sudo apt-get install curl
154+
```
155155

156-
- Install `libplist-utils` if it isn't installed yet:
156+
2. Install `libplist-utils` if it isn't installed yet:
157157

158-
```bash
159-
sudo apt-get install libplist-utils
160-
```
158+
```bash
159+
sudo apt-get install libplist-utils
160+
```
161161

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]/`.
164164
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:
166166

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+
```
170170

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]*.
173173
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:
175175

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+
```
179179

180-
- Install the repository configuration:
180+
4. Install the repository configuration:
181181

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+
```
185185

186-
For example, if you chose `prod` channel:
186+
For example, if you chose `prod` channel:
187187

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+
```
191191

192-
- Install the `gpg` package if not already installed:
192+
5. Install the `gpg` package if not already installed:
193193

194-
```bash
195-
sudo apt-get install gpg
196-
```
194+
```bash
195+
sudo apt-get install gpg
196+
```
197197

198-
If `gpg` isn't available, then install `gnupg`.
198+
If `gpg` isn't available, then install `gnupg`.
199199

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:
203205

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.
206207

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+
```
210211

211-
- For Debian 12 and later, run the following command.
212+
- For Debian 12 and later, run the following command.
212213

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+
```
216217

217-
- Install the HTTPS driver if not already installed:
218+
7. Install the HTTPS driver if not already installed:
218219

219-
```bash
220-
sudo apt-get install apt-transport-https
221-
```
220+
```bash
221+
sudo apt-get install apt-transport-https
222+
```
222223

223-
- Update the repository metadata:
224+
8. Update the repository metadata:
225+
226+
```bash
227+
sudo apt-get update
228+
```
224229

225-
```bash
226-
sudo apt-get update
227-
```
228230
### Mariner
229231

230-
- Install `dnf-plugins-core` if it isn't installed yet:
232+
1. Install `dnf-plugins-core` if it isn't installed yet:
231233
232-
```bash
233-
sudo dnf install dnf-plugins-core
234-
```
234+
```bash
235+
sudo dnf install dnf-plugins-core
236+
```
235237
236-
- Configure and Enable the required repositories
238+
2. Configure and enable the required repositories.
237239
238240
> [!NOTE]
239241
> On Mariner, Insider Fast Channel is not available.

0 commit comments

Comments
 (0)