Skip to content

Commit 4a489df

Browse files
committed
Revert config package download steps
1 parent b609d9d commit 4a489df

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

includes/iot-edge-install-linux.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,26 @@ You need to complete two steps on your device before it's ready to install the I
2020
* **Ubuntu Server 18.04**:
2121

2222
```bash
23-
curl https://packages.microsoft.com/config/ubuntu/18.04/multiarch/packages-microsoft-prod.deb > ./packages-microsoft-prod.deb
23+
curl https://packages.microsoft.com/config/ubuntu/18.04/multiarch/prod.list > ./microsoft-prod.list
2424
```
2525

2626
* **Raspberry Pi OS Stretch**:
2727

2828
```bash
29-
curl https://packages.microsoft.com/config/debian/stretch/multiarch/packages-microsoft-prod.deb > ./packages-microsoft-prod.deb
29+
curl https://packages.microsoft.com/config/debian/stretch/multiarch/prod.list > ./microsoft-prod.list
3030
```
3131

32-
1. Install the configuration package to add Microsoft's package repository and GPG public key.
32+
1. Copy the generated list to the sources.list.d directory.
3333

3434
```bash
35-
sudo apt install ./packages-microsoft-prod.deb
35+
sudo cp ./microsoft-prod.list /etc/apt/sources.list.d/
36+
```
37+
38+
1. Install the Microsoft GPG public key.
39+
40+
```bash
41+
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
42+
sudo cp ./microsoft.gpg /etc/apt/trusted.gpg.d/
3643
```
3744

3845
> [!NOTE]

0 commit comments

Comments
 (0)