From a3713bfc4f5f3cc0b0b9e23a62b3ba96ad6b8dba Mon Sep 17 00:00:00 2001 From: Andrew Palmer Date: Fri, 16 Mar 2018 14:24:07 +0000 Subject: [PATCH 1/3] Changed 6.0.1 references to 6.0.2 --- docs/installation/linux.md | 82 +++++++++++++++++++------------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/docs/installation/linux.md b/docs/installation/linux.md index 65ba523c3e..6fd05023bd 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.1-1.ubuntu.14.04_amd64.deb` +`powershell_6.0.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.1-1.ubuntu.14.04_amd64.deb +sudo dpkg -i powershell_6.0.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.1-1.ubuntu.16.04_amd64.deb` +`powershell_6.0.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.1-1.ubuntu.16.04_amd64.deb +sudo dpkg -i powershell_6.0.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.1-1.ubuntu.17.04_amd64.deb` +`powershell_6.0.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.1-1.ubuntu.17.04_amd64.deb +sudo dpkg -i powershell_6.0.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.1-1.debian.8_amd64.deb` +`powershell_6.0.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.1-1.debian.8_amd64.deb +sudo dpkg -i powershell_6.0.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.1-1.debian.9_amd64.deb` +`powershell_6.0.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.1-1.debian.9_amd64.deb +sudo dpkg -i powershell_6.0.2-1.debian.9_amd64.deb sudo apt-get install -f ``` @@ -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.1-1.rhel.7.x86_64.rpm` +`powershell-6.0.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.1-1.rhel.7.x86_64.rpm +sudo yum install powershell-6.0.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.1/powershell-6.0.1-1.rhel.7.x86_64.rpm +sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.1/powershell-6.0.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.1-1.rhel.7.x86_64.rpm` +`powershell-6.0.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.1-1.rhel.7.x86_64.rpm +sudo yum install powershell-6.0.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.1/powershell-6.0.1-1.rhel.7.x86_64.rpm +sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.2/powershell-6.0.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.1-1.rhel.7.x86_64.rpm` +Download the RPM package `powershell-6.0.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.1-1.rhel.7.x86_64.rpm +sudo zypper install powershell-6.0.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.1/powershell-6.0.1-1.rhel.7.x86_64.rpm +sudo zypper install https://github.com/PowerShell/PowerShell/releases/download/v6.0.2/powershell-6.0.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.1-1.rhel.7.x86_64.rpm` +`powershell-6.0.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.1-1.rhel.7.x86_64.rpm +sudo dnf install powershell-6.0.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.1/powershell-6.0.1-1.rhel.7.x86_64.rpm +sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.2/powershell-6.0.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.1-1.rhel.7.x86_64.rpm` +`powershell-6.0.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.1-1.rhel.7.x86_64.rpm +sudo dnf install powershell-6.0.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.1/powershell-6.0.1-1.rhel.7.x86_64.rpm +sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.2/powershell-6.0.2-1.rhel.7.x86_64.rpm ``` ### Uninstallation - Fedora 26 @@ -555,8 +555,8 @@ from the [releases][] page onto the Linux machine. Then execute the following in the terminal: ```bash -chmod a+x powershell-6.0.1-x86_64.AppImage -./powershell-6.0.1-x86_64.AppImage +chmod a+x powershell-6.0.2-x86_64.AppImage +./powershell-6.0.2-x86_64.AppImage ``` The [AppImage][] lets you run PowerShell without installing it. @@ -578,7 +578,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.1-1.ubuntu.16.04_amd64.deb +dpkg -i powershell_6.0.2-1.ubuntu.16.04_amd64.deb # Start PowerShell pwsh @@ -588,19 +588,19 @@ pwsh ```sh # Grab the latest App Image -wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.1/powershell-6.0.1-x86_64.AppImage +wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.2/powershell-6.0.2-x86_64.AppImage # Make executable -chmod a+x powershell-6.0.1-x86_64.AppImage +chmod a+x powershell-6.0.2-x86_64.AppImage # Start PowerShell -./powershell-6.0.1-x86_64.AppImage +./powershell-6.0.2-x86_64.AppImage ``` ### Uninstallation - Kali ```sh -dpkg -r powershell_6.0.1-1.ubuntu.16.04_amd64.deb +dpkg -r powershell_6.0.2-1.ubuntu.16.04_amd64.deb ``` ## Raspbian @@ -618,13 +618,13 @@ Download [Raspbian Stretch](https://www.raspberrypi.org/downloads/raspbian/) and sudo apt-get install libunwind8 # Grab the latest tar.gz -wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.1/powershell-6.0.1-linux-arm32.tar.gz +wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.2/powershell-6.0.2-linux-arm32.tar.gz # Make folder to put powershell mkdir ~/powershell # Unpack the tar.gz file -tar -xvf ./powershell-6.0.1-linux-arm32.tar.gz -C ~/powershell +tar -xvf ./powershell-6.0.2-linux-arm32.tar.gz -C ~/powershell # Start PowerShell ~/powershell/pwsh @@ -683,19 +683,19 @@ 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.1/powershell-6.0.1-linux-x64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.2/powershell-6.0.2-linux-x64.tar.gz # Create the target folder where powershell will be placed -sudo mkdir -p /opt/microsoft/powershell/6.0.1 +sudo mkdir -p /opt/microsoft/powershell/6.0.2 # Expand powershell to the target folder -sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/6.0.1 +sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/6.0.2 # Set execute permissions -sudo chmod +x /opt/microsoft/powershell/6.0.1/pwsh +sudo chmod +x /opt/microsoft/powershell/6.0.2/pwsh # Create the symbolic link that points to pwsh -sudo ln -s /opt/microsoft/powershell/6.0.1/pwsh /usr/bin/pwsh +sudo ln -s /opt/microsoft/powershell/6.0.2/pwsh /usr/bin/pwsh ``` ### Uninstallation - Binary Archives @@ -706,7 +706,7 @@ sudo rm -rf /usr/bin/pwsh /opt/microsoft/powershell ## Paths -* `$PSHOME` is `/opt/microsoft/powershell/6.0.1/` +* `$PSHOME` is `/opt/microsoft/powershell/6.0.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` @@ -721,7 +721,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.1/`, +Thus, `$PSHOME` is `/usr/local/microsoft/powershell/6.0.2/`, and the symlink is placed at `/usr/local/bin/pwsh`. [releases]: https://github.com/PowerShell/PowerShell/releases/latest From 2b88af07a45b128508407a453b063b727105eb65 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Fri, 16 Mar 2018 16:23:07 -0700 Subject: [PATCH 2/3] Update two more '6.0.1' instances --- docs/installation/linux.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation/linux.md b/docs/installation/linux.md index 6fd05023bd..5359f9ecf4 100644 --- a/docs/installation/linux.md +++ b/docs/installation/linux.md @@ -322,7 +322,7 @@ sudo yum install powershell-6.0.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.1/powershell-6.0.2-1.rhel.7.x86_64.rpm +sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.2/powershell-6.0.2-1.rhel.7.x86_64.rpm ``` ### Uninstallation - CentOS 7 @@ -549,7 +549,7 @@ 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.1-x86_64.AppImage` +download the AppImage `powershell-6.0.2-x86_64.AppImage` from the [releases][] page onto the Linux machine. Then execute the following in the terminal: From eb857732c26f308a3c4e45b237d86ce236ae33f0 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Fri, 16 Mar 2018 16:25:43 -0700 Subject: [PATCH 3/3] Revert the 'AppImage' section to '6.0.1' because we didn't release AppImage for 6.0.2 --- docs/installation/linux.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/installation/linux.md b/docs/installation/linux.md index 5359f9ecf4..1ded2d069d 100644 --- a/docs/installation/linux.md +++ b/docs/installation/linux.md @@ -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.2-x86_64.AppImage` +download the AppImage `powershell-6.0.1-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.2-x86_64.AppImage -./powershell-6.0.2-x86_64.AppImage +chmod a+x powershell-6.0.1-x86_64.AppImage +./powershell-6.0.1-x86_64.AppImage ``` The [AppImage][] lets you run PowerShell without installing it.