@@ -49,11 +49,11 @@ PowerShell Core, for Linux, is published to package repositories for easy instal
49
49
This is the preferred method.
50
50
51
51
``` sh
52
- # Import the public repository GPG keys
53
- curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
52
+ # Download the Microsoft repository GPG keys
53
+ wget -q https://packages.microsoft.com/config/ubuntu/14.04/packages-microsoft-prod.deb
54
54
55
- # Register the Microsoft Ubuntu repository
56
- curl https:// packages. microsoft.com/config/ubuntu/14.04/ prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
55
+ # Register the Microsoft repository GPG keys
56
+ sudo dpkg -i packages- microsoft- prod.deb
57
57
58
58
# Update the list of products
59
59
sudo apt-get update
@@ -100,11 +100,11 @@ PowerShell Core, for Linux, is published to package repositories for easy instal
100
100
This is the preferred method.
101
101
102
102
``` sh
103
- # Import the public repository GPG keys
104
- curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
103
+ # Download the Microsoft repository GPG keys
104
+ wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
105
105
106
- # Register the Microsoft Ubuntu repository
107
- sudo curl -o /etc/apt/sources.list.d/microsoft.list https:// packages. microsoft.com/config/ubuntu/16.04/ prod.list
106
+ # Register the Microsoft repository GPG keys
107
+ sudo dpkg -i packages- microsoft- prod.deb
108
108
109
109
# Update the list of products
110
110
sudo apt-get update
@@ -154,11 +154,11 @@ PowerShell Core, for Linux, is published to package repositories for easy instal
154
154
This is the preferred method.
155
155
156
156
``` sh
157
- # Import the public repository GPG keys
158
- curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
157
+ # Download the Microsoft repository GPG keys
158
+ wget -q https://packages.microsoft.com/config/ubuntu/17.10/packages-microsoft-prod.deb
159
159
160
- # Register the Microsoft Ubuntu repository
161
- sudo curl -o /etc/apt/sources.list.d/microsoft.list https:// packages. microsoft.com/config/ubuntu/17.10/ prod.list
160
+ # Register the Microsoft repository GPG keys
161
+ sudo dpkg -i packages- microsoft- prod.deb
162
162
163
163
# Update the list of products
164
164
sudo apt-get update
@@ -208,11 +208,11 @@ PowerShell Core, for Linux, is published to package repositories for easy instal
208
208
This is the preferred method.
209
209
210
210
``` sh
211
- # Import the public repository GPG keys
212
- curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
211
+ # Download the Microsoft repository GPG keys
212
+ wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
213
213
214
- # Register the Microsoft Ubuntu repository
215
- sudo curl -o /etc/apt/sources.list.d/microsoft.list https:// packages. microsoft.com/config/ubuntu/18.04/ prod.list
214
+ # Register the Microsoft repository GPG keys
215
+ sudo dpkg -i packages- microsoft- prod.deb
216
216
217
217
# Update the list of products
218
218
sudo apt-get update
0 commit comments