File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -20,19 +20,26 @@ You need to complete two steps on your device before it's ready to install the I
20
20
* ** Ubuntu Server 18.04** :
21
21
22
22
``` 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
24
24
```
25
25
26
26
* ** Raspberry Pi OS Stretch** :
27
27
28
28
` ` ` 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
30
30
` ` `
31
31
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 .
33
33
34
34
` ` ` 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/
36
43
` ` `
37
44
38
45
> [! NOTE]
You can’t perform that action at this time.
0 commit comments