mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Doc: Update Ubuntu source creation commands to use 'curl -o' (#6510)
Updated the Ubuntu source creation commands to remove the need for piping
This commit is contained in:
@@ -39,7 +39,7 @@ This is the preferred method.
|
||||
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
||||
|
||||
# Register the Microsoft Ubuntu repository
|
||||
curl https://packages.microsoft.com/config/ubuntu/14.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
|
||||
sudo curl -o /etc/apt/sources.list.d/microsoft.list https://packages.microsoft.com/config/ubuntu/14.04/prod.list
|
||||
|
||||
# Update the list of products
|
||||
sudo apt-get update
|
||||
@@ -89,7 +89,7 @@ This is the preferred method.
|
||||
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
||||
|
||||
# Register the Microsoft Ubuntu repository
|
||||
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
|
||||
sudo curl -o /etc/apt/sources.list.d/microsoft.list https://packages.microsoft.com/config/ubuntu/16.04/prod.list
|
||||
|
||||
# Update the list of products
|
||||
sudo apt-get update
|
||||
@@ -139,7 +139,7 @@ This is the preferred method.
|
||||
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
||||
|
||||
# Register the Microsoft Ubuntu repository
|
||||
curl https://packages.microsoft.com/config/ubuntu/17.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
|
||||
sudo curl -o /etc/apt/sources.list.d/microsoft.list https://packages.microsoft.com/config/ubuntu/17.04/prod.list
|
||||
|
||||
# Update the list of products
|
||||
sudo apt-get update
|
||||
|
||||
Reference in New Issue
Block a user