From 8c00b9eeb4088d8c9cd3b8bf8eb29ecce7273dcd Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 13 Dec 2017 12:59:08 -0800 Subject: [PATCH 01/10] update version --- README.md | 30 ++++++++++----------- docker/community/amazonlinux/Dockerfile | 4 +-- docker/release/centos7/Dockerfile | 2 +- docker/release/fedora25/Dockerfile | 2 +- docker/release/fedora26/Dockerfile | 2 +- docker/release/nanoserver/Dockerfile | 4 +-- docker/release/opensuse42.2/Dockerfile | 4 +-- docker/release/ubuntu14.04/Dockerfile | 2 +- docker/release/ubuntu16.04/Dockerfile | 2 +- docker/release/windowsservercore/Dockerfile | 4 +-- docker/tests/container.tests.ps1 | 4 +-- docker/tests/containerTestCommon.psm1 | 2 +- 12 files changed, 31 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 89e59a330c0..24eed4dc10c 100644 --- a/README.md +++ b/README.md @@ -54,21 +54,21 @@ You can also download the PowerShell binary archives for Windows, macOS and Linu | macOS | [64-bit][rl-macos-tar] | [Instructions][in-tar] | | Linux | [64-bit][rl-linux-tar] | [Instructions][in-tar] | -[rl-windows-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-win-x64.msi -[rl-windows-86]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-win-x86.msi -[rl-ubuntu17]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell_6.0.0-rc-1.ubuntu.17.04_amd64.deb -[rl-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell_6.0.0-rc-1.ubuntu.16.04_amd64.deb -[rl-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell_6.0.0-rc-1.ubuntu.14.04_amd64.deb -[rl-debian8]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell_6.0.0-rc-1.debian.8_amd64.deb -[rl-debian9]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell_6.0.0-rc-1.debian.9_amd64.deb -[rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc-1.rhel.7.x86_64.rpm -[rl-ai]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-x86_64.AppImage -[rl-macos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-osx.10.12-x64.pkg -[rl-winx86-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-win-x86.zip -[rl-winx64-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-win-x64.zip -[rl-macos-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-osx-x64.tar.gz -[rl-linux-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-linux-x64.tar.gz -[rl-raspbian]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-linux-arm32.tar.gz +[rl-windows-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.msi +[rl-windows-86]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x86.msi +[rl-ubuntu17]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.ubuntu.17.04_amd64.deb +[rl-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb +[rl-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.ubuntu.14.04_amd64.deb +[rl-debian8]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.debian.8_amd64.deb +[rl-debian9]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.debian.9_amd64.deb +[rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc-1.rhel.7.x86_64.rpm +[rl-ai]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-x86_64.AppImage +[rl-macos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-osx.10.12-x64.pkg +[rl-winx86-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x86.zip +[rl-winx64-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.zip +[rl-macos-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-osx-x64.tar.gz +[rl-linux-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-linux-x64.tar.gz +[rl-raspbian]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-linux-arm32.tar.gz [installation]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation [in-windows]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/windows.md#msi diff --git a/docker/community/amazonlinux/Dockerfile b/docker/community/amazonlinux/Dockerfile index c3f530b4cd6..0f01e8837a9 100644 --- a/docker/community/amazonlinux/Dockerfile +++ b/docker/community/amazonlinux/Dockerfile @@ -2,8 +2,8 @@ FROM amazonlinux:latest -ARG POWERSHELL_VERSION=6.0.0-rc -ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc-linux-x64.tar.gz +ARG POWERSHELL_VERSION=6.0.0-rc.2 +ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc.2-linux-x64.tar.gz ARG IMAGE_NAME=microsoft/powershell:amazonlinux LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/centos7/Dockerfile b/docker/release/centos7/Dockerfile index 41b1162fed3..fe5333e7647 100644 --- a/docker/release/centos7/Dockerfile +++ b/docker/release/centos7/Dockerfile @@ -2,7 +2,7 @@ FROM centos:7 -ARG POWERSHELL_VERSION=6.0.0-rc +ARG POWERSHELL_VERSION=6.0.0-rc.2 ARG IMAGE_NAME=microsoft/powershell:centos7 LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/fedora25/Dockerfile b/docker/release/fedora25/Dockerfile index b079e678fea..8bc5f4ddc99 100644 --- a/docker/release/fedora25/Dockerfile +++ b/docker/release/fedora25/Dockerfile @@ -2,7 +2,7 @@ FROM fedora:25 -ARG POWERSHELL_VERSION=6.0.0-rc +ARG POWERSHELL_VERSION=6.0.0-rc.2 ARG IMAGE_NAME=microsoft/powershell:fedora25 LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/fedora26/Dockerfile b/docker/release/fedora26/Dockerfile index f78a93ec020..3b3ddeb766c 100644 --- a/docker/release/fedora26/Dockerfile +++ b/docker/release/fedora26/Dockerfile @@ -2,7 +2,7 @@ FROM fedora:26 -ARG POWERSHELL_VERSION=6.0.0-rc +ARG POWERSHELL_VERSION=6.0.0-rc.2 ARG IMAGE_NAME=microsoft/powershell:fedora26 LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/nanoserver/Dockerfile b/docker/release/nanoserver/Dockerfile index ed500cb3496..186a6b486d9 100755 --- a/docker/release/nanoserver/Dockerfile +++ b/docker/release/nanoserver/Dockerfile @@ -10,7 +10,7 @@ ARG NanoServerRepo=microsoft/nanoserver FROM ${WindowsServerCoreRepo}:$WindowsServerCoreVersion AS installer-env # Arguments for installing powershell, must be defined in the container they are used -ARG PS_VERSION=6.0.0-rc +ARG PS_VERSION=6.0.0-rc.2 ENV PS_DOWNLOAD_URL https://github.com/PowerShell/PowerShell/releases/download/v$PS_VERSION/PowerShell-$PS_VERSION-win-x64.zip @@ -25,7 +25,7 @@ RUN Expand-Archive powershell.zip -DestinationPath \PowerShell FROM ${NanoServerRepo}:$NanoServerVersion ARG VCS_REF="none" -ARG PS_VERSION=6.0.0-rc +ARG PS_VERSION=6.0.0-rc.2 ARG IMAGE_NAME=microsoft/powershell LABEL maintainer="PowerShell Team " ` diff --git a/docker/release/opensuse42.2/Dockerfile b/docker/release/opensuse42.2/Dockerfile index 823373967bd..cbb8fea87c5 100644 --- a/docker/release/opensuse42.2/Dockerfile +++ b/docker/release/opensuse42.2/Dockerfile @@ -2,8 +2,8 @@ FROM opensuse:42.2 -ARG POWERSHELL_VERSION=6.0.0-rc -ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc-linux-x64.tar.gz +ARG POWERSHELL_VERSION=6.0.0-rc.2 +ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc.2-linux-x64.tar.gz ARG IMAGE_NAME=microsoft/powershell:opensuse42.2 LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/ubuntu14.04/Dockerfile b/docker/release/ubuntu14.04/Dockerfile index 9204591170a..6a7da8388f3 100644 --- a/docker/release/ubuntu14.04/Dockerfile +++ b/docker/release/ubuntu14.04/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:trusty -ARG POWERSHELL_VERSION=6.0.0-rc +ARG POWERSHELL_VERSION=6.0.0-rc.2 ARG IMAGE_NAME=microsoft/powershell:ubuntu14.04 LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/ubuntu16.04/Dockerfile b/docker/release/ubuntu16.04/Dockerfile index 8b0ed1def23..e38b62fca80 100644 --- a/docker/release/ubuntu16.04/Dockerfile +++ b/docker/release/ubuntu16.04/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:xenial -ARG POWERSHELL_VERSION=6.0.0-rc +ARG POWERSHELL_VERSION=6.0.0-rc.2 ARG IMAGE_NAME=microsoft/powershell:ubuntu16.04 LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/windowsservercore/Dockerfile b/docker/release/windowsservercore/Dockerfile index 7753fca2c58..5a90668dbe1 100644 --- a/docker/release/windowsservercore/Dockerfile +++ b/docker/release/windowsservercore/Dockerfile @@ -1,8 +1,8 @@ # escape=` FROM microsoft/windowsservercore:latest -ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-win-x64.msi -ARG POWERSHELL_VERSION=6.0.0-rc +ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.msi +ARG POWERSHELL_VERSION=6.0.0-rc.2 ARG IMAGE_NAME=microsoft/powershell:windowsservercore LABEL maintainer="PowerShell Team " ` diff --git a/docker/tests/container.tests.ps1 b/docker/tests/container.tests.ps1 index 591144b4a5f..0ee22870b03 100644 --- a/docker/tests/container.tests.ps1 +++ b/docker/tests/container.tests.ps1 @@ -74,7 +74,7 @@ Describe "Linux Containers run PowerShell" -Tags 'Behavior', 'Linux' { $path ) - Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc' + Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc.2' } } @@ -99,6 +99,6 @@ Describe "Windows Containers run PowerShell" -Tags 'Behavior', 'Windows' { $path ) - Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc' + Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc.2' } } diff --git a/docker/tests/containerTestCommon.psm1 b/docker/tests/containerTestCommon.psm1 index 207187be2a6..50d011fbdb7 100644 --- a/docker/tests/containerTestCommon.psm1 +++ b/docker/tests/containerTestCommon.psm1 @@ -202,7 +202,7 @@ function Test-PSPackage [Parameter(Mandatory=$true)] $PSPackageLocation, # e.g. Azure storage [string] - $PSVersion = "6.0.0-rc", + $PSVersion = "6.0.0-rc.2", [string] $TestList = "/PowerShell/test/powershell/Modules/PackageManagement/PackageManagement.Tests.ps1,/PowerShell/test/powershell/engine/Module" ) From 72a68a3b88d965b33b6e4481179860f5ac41c1c4 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 13 Dec 2017 13:00:35 -0800 Subject: [PATCH 02/10] update version in examples --- docs/installation/linux.md | 48 +++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/docs/installation/linux.md b/docs/installation/linux.md index a3e31810d9e..bb2f1d6ed7d 100644 --- a/docs/installation/linux.md +++ b/docs/installation/linux.md @@ -57,13 +57,13 @@ from then on, you just need to use `sudo apt-get upgrade powershell` to update i ### Installation via Direct Download - Ubuntu 14.04 Download the Debian package -`powershell_6.0.0-rc-1.ubuntu.14.04_amd64.deb` +`powershell_6.0.0-rc.2-1.ubuntu.14.04_amd64.deb` from the [releases][] page onto the Ubuntu machine. Then execute the following in the terminal: ```sh -sudo dpkg -i powershell_6.0.0-rc-1.ubuntu.14.04_amd64.deb +sudo dpkg -i powershell_6.0.0-rc.2-1.ubuntu.14.04_amd64.deb sudo apt-get install -f ``` @@ -107,13 +107,13 @@ from then on, you just need to use `sudo apt-get upgrade powershell` to update i ### Installation via Direct Download - Ubuntu 16.04 Download the Debian package -`powershell_6.0.0-rc-1.ubuntu.16.04_amd64.deb` +`powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb` from the [releases][] page onto the Ubuntu machine. Then execute the following in the terminal: ```sh -sudo dpkg -i powershell_6.0.0-rc-1.ubuntu.16.04_amd64.deb +sudo dpkg -i powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb sudo apt-get install -f ``` @@ -157,13 +157,13 @@ from then on, you just need to use `sudo apt-get upgrade powershell` to update i ### Installation via Direct Download - Ubuntu 17.04 Download the Debian package -`powershell_6.0.0-rc-1.ubuntu.17.04_amd64.deb` +`powershell_6.0.0-rc.2-1.ubuntu.17.04_amd64.deb` from the [releases][] page onto the Ubuntu machine. Then execute the following in the terminal: ```sh -sudo dpkg -i powershell_6.0.0-rc-1.ubuntu.17.04_amd64.deb +sudo dpkg -i powershell_6.0.0-rc.2-1.ubuntu.17.04_amd64.deb sudo apt-get install -f ``` @@ -211,13 +211,13 @@ from then on, you just need to use `sudo apt-get upgrade powershell` to update i ### Installation via Direct Download - Debian 8 Download the Debian package -`powershell_6.0.0-rc-1.debian.8_amd64.deb` +`powershell_6.0.0-rc.2-1.debian.8_amd64.deb` from the [releases][] page onto the Debian machine. Then execute the following in the terminal: ```sh -sudo dpkg -i powershell_6.0.0-rc-1.debian.8_amd64.deb +sudo dpkg -i powershell_6.0.0-rc.2-1.debian.8_amd64.deb sudo apt-get install -f ``` @@ -265,13 +265,13 @@ from then on, you just need to use `sudo apt-get upgrade powershell` to update i ### Installation via Direct Download - Debian 9 Download the Debian package -`powershell_6.0.0-rc-1.debian.9_amd64.deb` +`powershell_6.0.0-rc.2-1.debian.9_amd64.deb` from the [releases][] page onto the Debian machine. Then execute the following in the terminal: ```sh -sudo dpkg -i powershell_6.0.0-rc-1.debian.9_amd64.deb +sudo dpkg -i powershell_6.0.0-rc.2-1.debian.9_amd64.deb sudo apt-get install -f ``` @@ -549,14 +549,14 @@ For more information on installing packages from the AUR, see the [Arch Linux wi ## Linux AppImage Using a recent Linux distribution, -download the AppImage `powershell-6.0.0-rc-x86_64.AppImage` +download the AppImage `powershell-6.0.0-rc.2-x86_64.AppImage` from the [releases][] page onto the Linux machine. Then execute the following in the terminal: ```bash -chmod a+x powershell-6.0.0-rc-x86_64.AppImage -./powershell-6.0.0-rc-x86_64.AppImage +chmod a+x powershell-6.0.0-rc.2-x86_64.AppImage +./powershell-6.0.0-rc.2-x86_64.AppImage ``` The [AppImage][] lets you run PowerShell without installing it. @@ -604,14 +604,14 @@ brew cask reinstall powershell ### Installation via Direct Download - macOS 10.12 Using macOS 10.12, download the PKG package -`powershell-6.0.0-rc-osx.10.12-x64.pkg` +`powershell-6.0.0-rc.2-osx.10.12-x64.pkg` from the [releases][] page onto the macOS machine. Either double-click the file and follow the prompts, or install it from the terminal: ```sh -sudo installer -pkg powershell-6.0.0-rc-osx.10.12-x64.pkg -target / +sudo installer -pkg powershell-6.0.0-rc.2-osx.10.12-x64.pkg -target / ``` ### Uninstallation - macOS 10.12 @@ -647,7 +647,7 @@ wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/libs dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb # Install PowerShell -dpkg -i powershell_6.0.0-rc-1.ubuntu.16.04_amd64.deb +dpkg -i powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb # Start PowerShell pwsh @@ -657,19 +657,19 @@ pwsh ```sh # Grab the latest App Image -wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-x86_64.AppImage +wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc.2-x86_64.AppImage # Make executable -chmod a+x powershell-6.0.0-rc-x86_64.AppImage +chmod a+x powershell-6.0.0-rc.2-x86_64.AppImage # Start PowerShell -./powershell-6.0.0-rc-x86_64.AppImage +./powershell-6.0.0-rc.2-x86_64.AppImage ``` ### Uninstallation - Kali ```sh -dpkg -r powershell_6.0.0-rc-1.ubuntu.16.04_amd64.deb +dpkg -r powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb ``` ## Raspbian @@ -683,13 +683,13 @@ Currently, PowerShell is only supported on Raspbian Stretch. sudo apt-get install libunwind8 # Grab the latest tar.gz -wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-linux-arm32.tar.gz +wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc.2-linux-arm32.tar.gz # Make folder to put powershell mkdir ~/powershell # Unpack the tar.gz file -tar -xvf ./powershell-6.0.0-rc-linux-arm32.tar.gz -C ~/powershell +tar -xvf ./powershell-6.0.0-rc.2-linux-arm32.tar.gz -C ~/powershell # Start PowerShell ~/powershell/pwsh @@ -736,7 +736,7 @@ and then extracts the Linux `tar.gz` archive. ```sh # Download the powershell '.tar.gz' archive -curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-linux-x64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc.2-linux-x64.tar.gz # Create the target folder where powershell will be placed sudo mkdir -p /opt/microsoft/powershell/6.0.0-rc @@ -755,7 +755,7 @@ sudo ln -s /opt/microsoft/powershell/6.0.0-rc/pwsh /usr/bin/pwsh ```sh # Download the powershell '.tar.gz' archive -curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-osx-x64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc.2-osx-x64.tar.gz # Create the target folder where powershell will be placed sudo mkdir -p /usr/local/microsoft/powershell/6.0.0-rc From 32f4da67f7c38aa51f291149e9d7fbe04bbb7594 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 13 Dec 2017 14:25:46 -0800 Subject: [PATCH 03/10] Address PR feedback --- README.md | 53 ++++++++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 24eed4dc10c..e6d21967845 100644 --- a/README.md +++ b/README.md @@ -25,34 +25,35 @@ If you are new to PowerShell and would like to learn more, we recommend reviewin You can download and install a PowerShell package for any of the following platforms. -| Platform | Downloads | How to Install | -| ---------------------------------- | ---------------------- | ----------------------------- | -| Windows (x64) | [.msi][rl-windows-64] | [Instructions][in-windows] | -| Windows (x86) | [.msi][rl-windows-86] | [Instructions][in-windows] | -| Ubuntu 17.04 | [.deb][rl-ubuntu17] | [Instructions][in-ubuntu17] | -| Ubuntu 16.04 | [.deb][rl-ubuntu16] | [Instructions][in-ubuntu16] | -| Ubuntu 14.04 | [.deb][rl-ubuntu14] | [Instructions][in-ubuntu14] | -| Debian 8 | [.deb][rl-debian8] | [Instructions][in-deb8] | -| Debian 9 | [.deb][rl-debian9] | [Instructions][in-deb9] | -| CentOS 7 | [.rpm][rl-centos] | [Instructions][in-centos] | -| Red Hat Enterprise Linux 7 | [.rpm][rl-centos] | [Instructions][in-rhel7] | -| OpenSUSE 42.2 | [.rpm][rl-centos] | [Instructions][in-opensuse422]| -| Fedora 25 | [.rpm][rl-centos] | [Instructions][in-fedora25] | -| Fedora 26 | [.rpm][rl-centos] | [Instructions][in-fedora26] | -| Arch Linux | | [Instructions][in-archlinux] | -| Many Linux distributions | [.AppImage][rl-ai] | [Instructions][in-appimage] | -| macOS 10.12 | [.pkg][rl-macos] | [Instructions][in-macos] | -| Docker | | [Instructions][in-docker] | -| Kali Linux | [.deb][rl-ubuntu16] | [Instructions][in-kali] | -| Raspbian (Stretch) | [.tgz][rl-raspbian] | [Instructions][in-raspbian] | +| Platform | Downloads | How to Install | +| ---------------------------------- | ------------------------| ----------------------------- | +| Windows (x64) | [.msi][rl-windows-64] | [Instructions][in-windows] | +| Windows (x86) | [.msi][rl-windows-86] | [Instructions][in-windows] | +| Ubuntu 17.04 | [.deb][rl-ubuntu17] | [Instructions][in-ubuntu17] | +| Ubuntu 16.04 | [.deb][rl-ubuntu16] | [Instructions][in-ubuntu16] | +| Ubuntu 14.04 | [.deb][rl-ubuntu14] | [Instructions][in-ubuntu14] | +| Debian 8 | [.deb][rl-debian8] | [Instructions][in-deb8] | +| Debian 9 | [.deb][rl-debian9] | [Instructions][in-deb9] | +| CentOS 7 | [.rpm][rl-centos] | [Instructions][in-centos] | +| Red Hat Enterprise Linux 7 | [.rpm][rl-centos] | [Instructions][in-rhel7] | +| OpenSUSE 42.2 | [.rpm][rl-centos] | [Instructions][in-opensuse422]| +| Fedora 25 | [.rpm][rl-centos] | [Instructions][in-fedora25] | +| Fedora 26 | [.rpm][rl-centos] | [Instructions][in-fedora26] | +| Arch Linux | | [Instructions][in-archlinux] | +| Many Linux distributions | [.AppImage][rl-ai] | [Instructions][in-appimage] | +| macOS 10.12 | [.pkg][rl-macos] | [Instructions][in-macos] | +| Docker | | [Instructions][in-docker] | +| Kali Linux | [.deb][rl-ubuntu16] | [Instructions][in-kali] | You can also download the PowerShell binary archives for Windows, macOS and Linux. -| Platform | Downloads | How to Install | -| ------------ | ----------------------------------------------- | ------------------------------ | -| Windows | [32-bit][rl-winx86-zip]/[64-bit][rl-winx64-zip] | [Instructions][in-windows-zip] | -| macOS | [64-bit][rl-macos-tar] | [Instructions][in-tar] | -| Linux | [64-bit][rl-linux-tar] | [Instructions][in-tar] | +| Platform | Downloads | How to Install | +| -------------------| ------------------------------------------------ | ------------------------------ | +| Windows | [32-bit][rl-winx86-zip]/[64-bit][rl-winx64-zip] | [Instructions][in-windows-zip] | +| Windows (arm) | [32-bit][rl-winarm]/[64-bit][rl-winarm64] | [Instructions][in-windows-zip] | +| macOS | [64-bit][rl-macos-tar] | [Instructions][in-tar] | +| Linux | [64-bit][rl-linux-tar] | [Instructions][in-tar] | +| Raspbian (Stretch) | [.tgz][rl-raspbian] | [Instructions][in-raspbian] | [rl-windows-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.msi [rl-windows-86]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x86.msi @@ -64,6 +65,8 @@ You can also download the PowerShell binary archives for Windows, macOS and Linu [rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc-1.rhel.7.x86_64.rpm [rl-ai]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-x86_64.AppImage [rl-macos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-osx.10.12-x64.pkg +[rl-winarm]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-arm32.zip +[rl-winarm64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-arm64.zip [rl-winx86-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x86.zip [rl-winx64-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.zip [rl-macos-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-osx-x64.tar.gz From 5f023765c7e6939fcaf03f27e7ec7f9be24e698c Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 13 Dec 2017 16:37:37 -0800 Subject: [PATCH 04/10] replace 6.0.0_rc instances --- README.md | 2 +- docs/installation/linux.md | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index e6d21967845..82c14464eba 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ You can also download the PowerShell binary archives for Windows, macOS and Linu [rl-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.ubuntu.14.04_amd64.deb [rl-debian8]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.debian.8_amd64.deb [rl-debian9]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.debian.9_amd64.deb -[rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc-1.rhel.7.x86_64.rpm +[rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm [rl-ai]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-x86_64.AppImage [rl-macos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-osx.10.12-x64.pkg [rl-winarm]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-arm32.zip diff --git a/docs/installation/linux.md b/docs/installation/linux.md index bb2f1d6ed7d..eb20f8bab19 100644 --- a/docs/installation/linux.md +++ b/docs/installation/linux.md @@ -310,19 +310,19 @@ you just need to use `sudo yum update powershell` to update PowerShell. ### Installation via Direct Download - CentOS 7 Using [CentOS 7][], download the RPM package -`powershell-6.0.0_rc-1.rhel.7.x86_64.rpm` +`powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm` from the [releases][] page onto the CentOS machine. Then execute the following in the terminal: ```sh -sudo yum install powershell-6.0.0_rc-1.rhel.7.x86_64.rpm +sudo yum install powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` You can also install the RPM without the intermediate step of downloading it: ```sh -sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc-1.rhel.7.x86_64.rpm +sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` ### Uninstallation - CentOS 7 @@ -356,19 +356,19 @@ you just need to use `sudo yum update powershell` to update PowerShell. ### Installation via Direct Download - Red Hat Enterprise Linux (RHEL) 7 Download the RPM package -`powershell-6.0.0_rc-1.rhel.7.x86_64.rpm` +`powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm` from the [releases][] page onto the Red Hat Enterprise Linux machine. Then execute the following in the terminal: ```sh -sudo yum install powershell-6.0.0_rc-1.rhel.7.x86_64.rpm +sudo yum install powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` You can also install the RPM without the intermediate step of downloading it: ```sh -sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc-1.rhel.7.x86_64.rpm +sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` ### Uninstallation - Red Hat Enterprise Linux (RHEL) 7 @@ -407,19 +407,19 @@ pwsh ### Installation via Direct Download - OpenSUSE 42.2 -Download the RPM package `powershell-6.0.0_rc-1.rhel.7.x86_64.rpm` +Download the RPM package `powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm` from the [releases][] page onto the OpenSUSE machine. ```sh sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc -sudo zypper install powershell-6.0.0_rc-1.rhel.7.x86_64.rpm +sudo zypper install powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` You can also install the RPM without the intermediate step of downloading it: ```sh sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc -sudo zypper install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc-1.rhel.7.x86_64.rpm +sudo zypper install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` ### Uninstallation - OpenSUSE 42.2 @@ -454,19 +454,19 @@ pwsh ### Installation via Direct Download - Fedora 25 Download the RPM package -`powershell-6.0.0_rc-1.rhel.7.x86_64.rpm` +`powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm` from the [releases][] page onto the Fedora machine. Then execute the following in the terminal: ```sh -sudo dnf install powershell-6.0.0_rc-1.rhel.7.x86_64.rpm +sudo dnf install powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` You can also install the RPM without the intermediate step of downloading it: ```sh -sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc-1.rhel.7.x86_64.rpm +sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` ### Uninstallation - Fedora 25 @@ -504,7 +504,7 @@ pwsh ### Installation via Direct Download - Fedora 26 Download the RPM package -`powershell-6.0.0_rc-1.rhel.7.x86_64.rpm` +`powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm` from the [releases][] page onto the Fedora machine. Then execute the following in the terminal: @@ -512,7 +512,7 @@ Then execute the following in the terminal: ```sh sudo dnf update sudo dnf install compat-openssl10 -sudo dnf install powershell-6.0.0_rc-1.rhel.7.x86_64.rpm +sudo dnf install powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` You can also install the RPM without the intermediate step of downloading it: @@ -520,7 +520,7 @@ You can also install the RPM without the intermediate step of downloading it: ```sh sudo dnf update sudo dnf install compat-openssl10 -sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc-1.rhel.7.x86_64.rpm +sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` ### Uninstallation - Fedora 26 From aa40c0bb6c093bc8bbdebf02a3f288fc754d598d Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 13 Dec 2017 18:20:32 -0800 Subject: [PATCH 05/10] update additional versions --- docs/installation/linux.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/installation/linux.md b/docs/installation/linux.md index eb20f8bab19..e88ff71c425 100644 --- a/docs/installation/linux.md +++ b/docs/installation/linux.md @@ -322,7 +322,7 @@ sudo yum install powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm You can also install the RPM without the intermediate step of downloading it: ```sh -sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` ### Uninstallation - CentOS 7 @@ -368,7 +368,7 @@ sudo yum install powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm You can also install the RPM without the intermediate step of downloading it: ```sh -sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` ### Uninstallation - Red Hat Enterprise Linux (RHEL) 7 @@ -419,7 +419,7 @@ You can also install the RPM without the intermediate step of downloading it: ```sh sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc -sudo zypper install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo zypper install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` ### Uninstallation - OpenSUSE 42.2 @@ -466,7 +466,7 @@ sudo dnf install powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm You can also install the RPM without the intermediate step of downloading it: ```sh -sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` ### Uninstallation - Fedora 25 @@ -520,7 +520,7 @@ You can also install the RPM without the intermediate step of downloading it: ```sh sudo dnf update sudo dnf install compat-openssl10 -sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm ``` ### Uninstallation - Fedora 26 @@ -657,7 +657,7 @@ pwsh ```sh # Grab the latest App Image -wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc.2-x86_64.AppImage +wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-x86_64.AppImage # Make executable chmod a+x powershell-6.0.0-rc.2-x86_64.AppImage @@ -683,7 +683,7 @@ Currently, PowerShell is only supported on Raspbian Stretch. sudo apt-get install libunwind8 # Grab the latest tar.gz -wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc.2-linux-arm32.tar.gz +wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-linux-arm32.tar.gz # Make folder to put powershell mkdir ~/powershell @@ -736,38 +736,38 @@ and then extracts the Linux `tar.gz` archive. ```sh # Download the powershell '.tar.gz' archive -curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc.2-linux-x64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-linux-x64.tar.gz # Create the target folder where powershell will be placed -sudo mkdir -p /opt/microsoft/powershell/6.0.0-rc +sudo mkdir -p /opt/microsoft/powershell6.0.0-rc.2 # Expand powershell to the target folder -sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/6.0.0-rc +sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell6.0.0-rc.2 # Set execute permissions -sudo chmod +x /usr/local/microsoft/powershell/6.0.0-rc/pwsh +sudo chmod +x /usr/local/microsoft/powershell/6.0.0-rc.2/pwsh # Create the symbolic link that points to pwsh -sudo ln -s /opt/microsoft/powershell/6.0.0-rc/pwsh /usr/bin/pwsh +sudo ln -s /opt/microsoft/powershell/6.0.0-rc.2/pwsh /usr/bin/pwsh ``` #### macOS ```sh # Download the powershell '.tar.gz' archive -curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc.2-osx-x64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-osx-x64.tar.gz # Create the target folder where powershell will be placed -sudo mkdir -p /usr/local/microsoft/powershell/6.0.0-rc +sudo mkdir -p /usr/local/microsoft/powershell6.0.0-rc.2 # Expand powershell to the target folder -sudo tar zxf /tmp/powershell.tar.gz -C /usr/local/microsoft/powershell/6.0.0-rc +sudo tar zxf /tmp/powershell.tar.gz -C /usr/local/microsoft/powershell6.0.0-rc.2 # Set execute permissions -sudo chmod +x /usr/local/microsoft/powershell/6.0.0-rc/pwsh +sudo chmod +x /usr/local/microsoft/powershell/6.0.0-rc.2/pwsh # Create the symbolic link that points to pwsh -sudo ln -s /usr/local/microsoft/powershell/6.0.0-rc/pwsh /usr/local/bin/pwsh +sudo ln -s /usr/local/microsoft/powershell/6.0.0-rc.2/pwsh /usr/local/bin/pwsh ``` ### Uninstallation - Binary Archives @@ -786,7 +786,7 @@ sudo rm -rf /usr/local/bin/pwsh /usr/local/microsoft/powershell ## Paths -* `$PSHOME` is `/opt/microsoft/powershell/6.0.0-rc/` +* `$PSHOME` is `/opt/microsoft/powershell/6.0.0-rc.2/` * User profiles will be read from `~/.config/powershell/profile.ps1` * Default profiles will be read from `$PSHOME/profile.ps1` * User modules will be read from `~/.local/share/powershell/Modules` @@ -801,7 +801,7 @@ On Linux and macOS, the [XDG Base Directory Specification][xdg-bds] is respected Note that because macOS is a derivation of BSD, instead of `/opt`, the prefix used is `/usr/local`. -Thus, `$PSHOME` is `/usr/local/microsoft/powershell/6.0.0-rc/`, +Thus, `$PSHOME` is `/usr/local/microsoft/powershell/6.0.0-rc.2/`, and the symlink is placed at `/usr/local/bin/pwsh`. [releases]: https://github.com/PowerShell/PowerShell/releases/latest From 85244ab6c7aed58d179f237bb3ad313f633a92a1 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Thu, 14 Dec 2017 11:57:24 -0800 Subject: [PATCH 06/10] add experimental information --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 82c14464eba..512c5bd6e43 100644 --- a/README.md +++ b/README.md @@ -47,13 +47,13 @@ You can download and install a PowerShell package for any of the following platf You can also download the PowerShell binary archives for Windows, macOS and Linux. -| Platform | Downloads | How to Install | -| -------------------| ------------------------------------------------ | ------------------------------ | -| Windows | [32-bit][rl-winx86-zip]/[64-bit][rl-winx64-zip] | [Instructions][in-windows-zip] | -| Windows (arm) | [32-bit][rl-winarm]/[64-bit][rl-winarm64] | [Instructions][in-windows-zip] | -| macOS | [64-bit][rl-macos-tar] | [Instructions][in-tar] | -| Linux | [64-bit][rl-linux-tar] | [Instructions][in-tar] | -| Raspbian (Stretch) | [.tgz][rl-raspbian] | [Instructions][in-raspbian] | +| Platform | Downloads | How to Install | +| ------------------------------------| ------------------------------------------------ | ------------------------------ | +| Windows | [32-bit][rl-winx86-zip]/[64-bit][rl-winx64-zip] | [Instructions][in-windows-zip] | +| Windows (arm) **Experimental** | [32-bit][rl-winarm]/[64-bit][rl-winarm64] | [Instructions][in-windows-zip] | +| macOS | [64-bit][rl-macos-tar] | [Instructions][in-tar] | +| Linux | [64-bit][rl-linux-tar] | [Instructions][in-tar] | +| Raspbian (Stretch) **Experimental** | [.tgz][rl-raspbian] | [Instructions][in-raspbian] | [rl-windows-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.msi [rl-windows-86]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x86.msi From d88e8e3879dc64ca95f89643d6ebc998b4021e53 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Thu, 14 Dec 2017 11:57:58 -0800 Subject: [PATCH 07/10] identify community supported platforms and provide links to support details. --- README.md | 46 +++++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 512c5bd6e43..d256e06ed56 100644 --- a/README.md +++ b/README.md @@ -25,25 +25,30 @@ If you are new to PowerShell and would like to learn more, we recommend reviewin You can download and install a PowerShell package for any of the following platforms. -| Platform | Downloads | How to Install | -| ---------------------------------- | ------------------------| ----------------------------- | -| Windows (x64) | [.msi][rl-windows-64] | [Instructions][in-windows] | -| Windows (x86) | [.msi][rl-windows-86] | [Instructions][in-windows] | -| Ubuntu 17.04 | [.deb][rl-ubuntu17] | [Instructions][in-ubuntu17] | -| Ubuntu 16.04 | [.deb][rl-ubuntu16] | [Instructions][in-ubuntu16] | -| Ubuntu 14.04 | [.deb][rl-ubuntu14] | [Instructions][in-ubuntu14] | -| Debian 8 | [.deb][rl-debian8] | [Instructions][in-deb8] | -| Debian 9 | [.deb][rl-debian9] | [Instructions][in-deb9] | -| CentOS 7 | [.rpm][rl-centos] | [Instructions][in-centos] | -| Red Hat Enterprise Linux 7 | [.rpm][rl-centos] | [Instructions][in-rhel7] | -| OpenSUSE 42.2 | [.rpm][rl-centos] | [Instructions][in-opensuse422]| -| Fedora 25 | [.rpm][rl-centos] | [Instructions][in-fedora25] | -| Fedora 26 | [.rpm][rl-centos] | [Instructions][in-fedora26] | -| Arch Linux | | [Instructions][in-archlinux] | -| Many Linux distributions | [.AppImage][rl-ai] | [Instructions][in-appimage] | -| macOS 10.12 | [.pkg][rl-macos] | [Instructions][in-macos] | -| Docker | | [Instructions][in-docker] | -| Kali Linux | [.deb][rl-ubuntu16] | [Instructions][in-kali] | +| Supported Platform | Downloads | How to Install | +| -------------------------------------------| ------------------------| ----------------------------- | +| [Windows (x64)][corefx-win] | [.msi][rl-windows-64] | [Instructions][in-windows] | +| [Windows (x86)][corefx-win] | [.msi][rl-windows-86] | [Instructions][in-windows] | +| [Ubuntu 17.04][corefx-linux] | [.deb][rl-ubuntu17] | [Instructions][in-ubuntu17] | +| [Ubuntu 16.04][corefx-linux] | [.deb][rl-ubuntu16] | [Instructions][in-ubuntu16] | +| [Ubuntu 14.04][corefx-linux] | [.deb][rl-ubuntu14] | [Instructions][in-ubuntu14] | +| [Debian 8.7+][corefx-linux] | [.deb][rl-debian8] | [Instructions][in-deb8] | +| [Debian 9][corefx-linux] | [.deb][rl-debian9] | [Instructions][in-deb9] | +| [CentOS 7][corefx-linux] | [.rpm][rl-centos] | [Instructions][in-centos] | +| [Red Hat Enterprise Linux 7][corefx-linux] | [.rpm][rl-centos] | [Instructions][in-rhel7] | +| [OpenSUSE 42.2][corefx-linux] | [.rpm][rl-centos] | [Instructions][in-opensuse422]| +| [Fedora 25][corefx-linux] | [.rpm][rl-centos] | [Instructions][in-fedora25] | +| [Fedora 26][corefx-linux] | [.rpm][rl-centos] | [Instructions][in-fedora26] | +| [macOS 10.12+][corefx-macos] | [.pkg][rl-macos] | [Instructions][in-macos] | +| Docker | | [Instructions][in-docker] | + +You can download and install a PowerShell package for any of the following platforms, **which are supported by the community.** + +| Platform | Downloads | How to Install | +| -------------------------| ------------------------| ----------------------------- | +| Arch Linux | | [Instructions][in-archlinux] | +| Many Linux distributions | [.AppImage][rl-ai] | [Instructions][in-appimage] | +| Kali Linux | [.deb][rl-ubuntu16] | [Instructions][in-kali] | You can also download the PowerShell binary archives for Windows, macOS and Linux. @@ -93,6 +98,9 @@ You can also download the PowerShell binary archives for Windows, macOS and Linu [in-windows-zip]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/windows.md#zip [in-tar]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#binary-archives [in-raspbian]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#raspbian +[corefx-win]:https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md#windows +[corefx-linux]:https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md#linux +[corefx-macos]:https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md#macos To install a specific version, visit [releases](https://github.com/PowerShell/PowerShell/releases). From ade29e9932bd8f6cd0d3d4d794d3e6bb47967f49 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Thu, 14 Dec 2017 12:00:52 -0800 Subject: [PATCH 08/10] change order of community supported packages --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d256e06ed56..07e276b5325 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,8 @@ You can download and install a PowerShell package for any of the following platf | Platform | Downloads | How to Install | | -------------------------| ------------------------| ----------------------------- | | Arch Linux | | [Instructions][in-archlinux] | -| Many Linux distributions | [.AppImage][rl-ai] | [Instructions][in-appimage] | | Kali Linux | [.deb][rl-ubuntu16] | [Instructions][in-kali] | +| Many Linux distributions | [.AppImage][rl-ai] | [Instructions][in-appimage] | You can also download the PowerShell binary archives for Windows, macOS and Linux. From 907863db6a36cce9ede3d71700a8f346d8d4f62c Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Thu, 14 Dec 2017 12:05:43 -0800 Subject: [PATCH 09/10] fix removed slashes --- docs/installation/linux.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/installation/linux.md b/docs/installation/linux.md index e88ff71c425..6a0440ba60a 100644 --- a/docs/installation/linux.md +++ b/docs/installation/linux.md @@ -739,10 +739,10 @@ and then extracts the Linux `tar.gz` archive. curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-linux-x64.tar.gz # Create the target folder where powershell will be placed -sudo mkdir -p /opt/microsoft/powershell6.0.0-rc.2 +sudo mkdir -p /opt/microsoft/powershell/6.0.0-rc.2 # Expand powershell to the target folder -sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell6.0.0-rc.2 +sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/6.0.0-rc.2 # Set execute permissions sudo chmod +x /usr/local/microsoft/powershell/6.0.0-rc.2/pwsh @@ -758,10 +758,10 @@ sudo ln -s /opt/microsoft/powershell/6.0.0-rc.2/pwsh /usr/bin/pwsh curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-osx-x64.tar.gz # Create the target folder where powershell will be placed -sudo mkdir -p /usr/local/microsoft/powershell6.0.0-rc.2 +sudo mkdir -p /usr/local/microsoft/powershell/6.0.0-rc.2 # Expand powershell to the target folder -sudo tar zxf /tmp/powershell.tar.gz -C /usr/local/microsoft/powershell6.0.0-rc.2 +sudo tar zxf /tmp/powershell.tar.gz -C /usr/local/microsoft/powershell/6.0.0-rc.2 # Set execute permissions sudo chmod +x /usr/local/microsoft/powershell/6.0.0-rc.2/pwsh From e9d5af486d07eafa637b4a868cb573056c83ee51 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Thu, 14 Dec 2017 12:18:30 -0800 Subject: [PATCH 10/10] put experimental packages together --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 07e276b5325..d4f512c0eab 100644 --- a/README.md +++ b/README.md @@ -55,9 +55,9 @@ You can also download the PowerShell binary archives for Windows, macOS and Linu | Platform | Downloads | How to Install | | ------------------------------------| ------------------------------------------------ | ------------------------------ | | Windows | [32-bit][rl-winx86-zip]/[64-bit][rl-winx64-zip] | [Instructions][in-windows-zip] | -| Windows (arm) **Experimental** | [32-bit][rl-winarm]/[64-bit][rl-winarm64] | [Instructions][in-windows-zip] | | macOS | [64-bit][rl-macos-tar] | [Instructions][in-tar] | | Linux | [64-bit][rl-linux-tar] | [Instructions][in-tar] | +| Windows (arm) **Experimental** | [32-bit][rl-winarm]/[64-bit][rl-winarm64] | [Instructions][in-windows-zip] | | Raspbian (Stretch) **Experimental** | [.tgz][rl-raspbian] | [Instructions][in-raspbian] | [rl-windows-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.msi