Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| установить_powershell [2022/08/22 13:02] – created jp | установить_powershell [2022/08/24 08:50] (current) – jp | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Установить PowerShell ===== | ===== Установить PowerShell ===== | ||
| - | # Update the list of packages | + | Update the list of packages |
| sudo apt-get update | sudo apt-get update | ||
| - | # Install pre-requisite packages. | + | Install pre-requisite packages. |
| sudo apt-get install -y wget apt-transport-https software-properties-common | sudo apt-get install -y wget apt-transport-https software-properties-common | ||
| - | # Download the Microsoft repository GPG keys | + | Download the Microsoft repository GPG keys |
| wget -q https:// | wget -q https:// | ||
| - | # Register the Microsoft repository GPG keys | + | Register the Microsoft repository GPG keys |
| sudo dpkg -i packages-microsoft-prod.deb | sudo dpkg -i packages-microsoft-prod.deb | ||
| - | # Update the list of packages after we added packages.microsoft.com | + | Update the list of packages after we added packages.microsoft.com |
| sudo apt-get update | sudo apt-get update | ||
| - | # Install PowerShell | + | Install PowerShell |
| - | sudo apt-get install -y powershell | + | sudo apt-get install -y powershell |
| + | {{tag> | ||