Update docs and scripts for beta.9 (#5217)
This commit is contained in:
parent
1702358e75
commit
d0806811e4
|
@ -372,7 +372,7 @@ function Start-PSBuild {
|
|||
}
|
||||
|
||||
function Stop-DevPowerShell {
|
||||
Get-Process powershell* |
|
||||
Get-Process pwsh* |
|
||||
Where-Object {
|
||||
$_.Modules |
|
||||
Where-Object {
|
||||
|
@ -1597,7 +1597,7 @@ function Start-DevPowerShell {
|
|||
|
||||
# splatting for the win
|
||||
$startProcessArgs = @{
|
||||
FilePath = "$binDir\powershell"
|
||||
FilePath = "$binDir\pwsh"
|
||||
ArgumentList = "$ArgumentList"
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ set -e
|
|||
|
||||
#
|
||||
# Example use:
|
||||
# ./InstallTarballPackage.sh "6.0.0-beta.8" "powershell-6.0.0-beta.8-linux-x64.tar.gz"
|
||||
# ./InstallTarballPackage.sh "6.0.0-beta.9" "powershell-6.0.0-beta.9-linux-x64.tar.gz"
|
||||
#
|
||||
usage() {
|
||||
echo "usage: $0 <powershell version> <powershell package name>"
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
FROM amazonlinux:latest
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_PACKAGE=powershell-6.0.0-beta.8-linux-x64.tar.gz
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG POWERSHELL_PACKAGE=powershell-6.0.0-beta.9-linux-x64.tar.gz
|
||||
ARG IMAGE_NAME=microsoft/powershell:amazonlinux
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
|
@ -29,7 +29,7 @@ ENV LC_ALL $LANG
|
|||
RUN localedef --charmap=UTF-8 --inputfile=en_US $LANG
|
||||
|
||||
# Install dependencies and clean up
|
||||
RUN yum install -y \
|
||||
RUN yum install -y \
|
||||
curl \
|
||||
libunwind \
|
||||
libicu \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
FROM centos:7
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:centos7
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
|
@ -29,7 +29,7 @@ ENV LC_ALL $LANG
|
|||
RUN localedef --charmap=UTF-8 --inputfile=en_US $LANG
|
||||
|
||||
# Install dependencies and clean up
|
||||
RUN yum install -y \
|
||||
RUN yum install -y \
|
||||
curl \
|
||||
&& yum clean all
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
FROM fedora:25
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:fedora25
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
|
@ -23,7 +23,7 @@ LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
|||
# TODO: addd LABEL org.label-schema.vcs-ref=${VCS_REF}
|
||||
|
||||
# Install dependencies and clean up
|
||||
RUN dnf install -y \
|
||||
RUN dnf install -y \
|
||||
curl \
|
||||
glibc-locale-source \
|
||||
&& dnf clean all
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
FROM fedora:26
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:fedora26
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
|
@ -23,7 +23,7 @@ LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
|||
# TODO: addd LABEL org.label-schema.vcs-ref=${VCS_REF}
|
||||
|
||||
# Install dependencies and clean up
|
||||
RUN dnf install -y \
|
||||
RUN dnf install -y \
|
||||
curl \
|
||||
glibc-locale-source \
|
||||
&& dnf clean all
|
||||
|
|
|
@ -10,7 +10,7 @@ ARG NanoServerRepo=microsoft/nanoserver-insider
|
|||
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-beta.8
|
||||
ARG PS_VERSION=6.0.0-beta.9
|
||||
|
||||
ENV PS_DOWNLOAD_URL https://github.com/PowerShell/PowerShell/releases/download/v$PS_VERSION/PowerShell-$PS_VERSION-win-x64.zip
|
||||
|
||||
|
@ -23,7 +23,7 @@ RUN Expand-Archive powershell.zip -DestinationPath \PowerShell
|
|||
FROM ${NanoServerRepo}:$NanoServerVersion
|
||||
|
||||
ARG VCS_REF="none"
|
||||
ARG PS_VERSION=6.0.0-beta.8
|
||||
ARG PS_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/nanoserver-insider-powershell
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" `
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# escape=`
|
||||
FROM microsoft/nanoserver:latest
|
||||
|
||||
ARG POWERSHELL_ZIP=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.8/PowerShell-6.0.0-beta.8-win-x64.zip
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_ZIP=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.9/PowerShell-6.0.0-beta.9-win-x64.zip
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:nanoserver
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" `
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
FROM opensuse:42.2
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_PACKAGE=powershell-6.0.0-beta.8-linux-x64.tar.gz
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG POWERSHELL_PACKAGE=powershell-6.0.0-beta.9-linux-x64.tar.gz
|
||||
ARG IMAGE_NAME=microsoft/powershell:opensuse42.2
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
FROM ubuntu:trusty
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:ubuntu14.04
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
|
@ -33,12 +33,12 @@ RUN apt-get update \
|
|||
apt-utils \
|
||||
ca-certificates \
|
||||
curl \
|
||||
apt-transport-https \
|
||||
apt-transport-https \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Import the public repository GPG keys for Microsoft
|
||||
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
|
||||
|
||||
|
||||
# Register the Microsoft Ubuntu 14.04 repository
|
||||
RUN curl https://packages.microsoft.com/config/ubuntu/14.04/prod.list | tee /etc/apt/sources.list.d/microsoft.list
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
FROM ubuntu:xenial
|
||||
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:ubuntu16.04
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
|
||||
|
@ -39,7 +39,7 @@ RUN locale-gen $LANG && update-locale
|
|||
|
||||
# Import the public repository GPG keys for Microsoft
|
||||
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
|
||||
|
||||
|
||||
# Register the Microsoft Ubuntu 16.04 repository
|
||||
RUN curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/microsoft.list
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# escape=`
|
||||
FROM microsoft/windowsservercore:latest
|
||||
|
||||
ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.8/PowerShell-6.0.0-beta.8-win-x64.msi
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.8
|
||||
ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.9/PowerShell-6.0.0-beta.9-win-x64.msi
|
||||
ARG POWERSHELL_VERSION=6.0.0-beta.9
|
||||
ARG IMAGE_NAME=microsoft/powershell:windowsservercore
|
||||
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" `
|
||||
|
|
|
@ -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-beta.8-1.ubuntu.14.04_amd64.deb`
|
||||
`powershell_6.0.0-beta.9-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-beta.8-1.ubuntu.14.04_amd64.deb
|
||||
sudo dpkg -i powershell_6.0.0-beta.9-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-beta.8-1.ubuntu.16.04_amd64.deb`
|
||||
`powershell_6.0.0-beta.9-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-beta.8-1.ubuntu.16.04_amd64.deb
|
||||
sudo dpkg -i powershell_6.0.0-beta.9-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-beta.8-1.ubuntu.17.04_amd64.deb`
|
||||
`powershell_6.0.0-beta.9-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-beta.8-1.ubuntu.17.04_amd64.deb
|
||||
sudo dpkg -i powershell_6.0.0-beta.9-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-beta.8-1.debian.8_amd64.deb`
|
||||
`powershell_6.0.0-beta.9-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-beta.8-1.debian.8_amd64.deb
|
||||
sudo dpkg -i powershell_6.0.0-beta.9-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-beta.8-1.debian.9_amd64.deb`
|
||||
`powershell_6.0.0-beta.9-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-beta.8-1.debian.9_amd64.deb
|
||||
sudo dpkg -i powershell_6.0.0-beta.9-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.0_beta.8-1.rhel.7.x86_64.rpm`
|
||||
`powershell-6.0.0_beta.9-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_beta.8-1.rhel.7.x86_64.rpm
|
||||
sudo yum install powershell-6.0.0_beta.9-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-beta.8/powershell-6.0.0_beta.8-1.rhel.7.x86_64.rpm
|
||||
sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.9/powershell-6.0.0_beta.9-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_beta.8-1.rhel.7.x86_64.rpm`
|
||||
`powershell-6.0.0_beta.9-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_beta.8-1.rhel.7.x86_64.rpm
|
||||
sudo yum install powershell-6.0.0_beta.9-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-beta.8/powershell-6.0.0_beta.8-1.rhel.7.x86_64.rpm
|
||||
sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.9/powershell-6.0.0_beta.9-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_beta.8-1.rhel.7.x86_64.rpm`
|
||||
Download the RPM package `powershell-6.0.0_beta.9-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_beta.8-1.rhel.7.x86_64.rpm
|
||||
sudo zypper install powershell-6.0.0_beta.9-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-beta.8/powershell-6.0.0_beta.8-1.rhel.7.x86_64.rpm
|
||||
sudo zypper install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.9/powershell-6.0.0_beta.9-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_beta.8-1.rhel.7.x86_64.rpm`
|
||||
`powershell-6.0.0_beta.9-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 dnf install powershell-6.0.0_beta.8-1.rhel.7.x86_64.rpm
|
||||
sudo dnf install powershell-6.0.0_beta.9-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-beta.8/powershell-6.0.0_beta.8-1.rhel.7.x86_64.rpm
|
||||
sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.9/powershell-6.0.0_beta.9-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_beta.8-1.rhel.7.x86_64.rpm`
|
||||
`powershell-6.0.0_beta.9-1.rhel.7.x86_64.rpm`
|
||||
from the [releases][] page onto the Red Hat Enterprise Linux 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_beta.8-1.rhel.7.x86_64.rpm
|
||||
sudo dnf install powershell-6.0.0_beta.9-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-beta.8/powershell-6.0.0_beta.8-1.rhel.7.x86_64.rpm
|
||||
sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.9/powershell-6.0.0_beta.9-1.rhel.7.x86_64.rpm
|
||||
```
|
||||
|
||||
### Uninstallation - Fedora 26
|
||||
|
@ -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-beta.8-x86_64.AppImage`
|
||||
download the AppImage `powershell-6.0.0-beta.9-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-beta.8-x86_64.AppImage
|
||||
./powershell-6.0.0-beta.8-x86_64.AppImage
|
||||
chmod a+x powershell-6.0.0-beta.9-x86_64.AppImage
|
||||
./powershell-6.0.0-beta.9-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-beta.8-osx.10.12-x64.pkg`
|
||||
`powershell-6.0.0-beta.9-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-beta.8-osx.10.12-x64.pkg -target /
|
||||
sudo installer -pkg powershell-6.0.0-beta.9-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-beta.8-1.ubuntu.16.04_amd64.deb
|
||||
dpkg -i powershell_6.0.0-beta.9-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-beta.8/powershell-6.0.0-beta.8-x86_64.AppImage
|
||||
wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.9/powershell-6.0.0-beta.9-x86_64.AppImage
|
||||
|
||||
# Make executable
|
||||
chmod a+x powershell-6.0.0-beta.8-x86_64.AppImage
|
||||
chmod a+x powershell-6.0.0-beta.9-x86_64.AppImage
|
||||
|
||||
# Start PowerShell
|
||||
./powershell-6.0.0-beta.8-x86_64.AppImage
|
||||
./powershell-6.0.0-beta.9-x86_64.AppImage
|
||||
```
|
||||
|
||||
### Uninstallation - Kali
|
||||
|
||||
```sh
|
||||
dpkg -r powershell_6.0.0-beta.8-1.ubuntu.16.04_amd64.deb
|
||||
dpkg -r powershell_6.0.0-beta.9-1.ubuntu.16.04_amd64.deb
|
||||
```
|
||||
|
||||
## Binary Archives
|
||||
|
@ -751,7 +751,7 @@ sudo rm -rf /usr/local/bin/pwsh /usr/local/microsoft/powershell
|
|||
|
||||
## Paths
|
||||
|
||||
* `$PSHOME` is `/opt/microsoft/powershell/6.0.0-beta.8/`
|
||||
* `$PSHOME` is `/opt/microsoft/powershell/6.0.0-beta.9/`
|
||||
* 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`
|
||||
|
@ -766,7 +766,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-beta.8/`,
|
||||
Thus, `$PSHOME` is `/usr/local/microsoft/powershell/6.0.0-beta.9/`,
|
||||
and the symlink is placed at `/usr/local/bin/pwsh`.
|
||||
|
||||
[releases]: https://github.com/PowerShell/PowerShell/releases/latest
|
||||
|
|
|
@ -13,7 +13,7 @@ get_url() {
|
|||
}
|
||||
|
||||
fork="PowerShell"
|
||||
release=v6.0.0-beta.8
|
||||
release=v6.0.0-beta.9
|
||||
# Get OS specific asset ID and package name
|
||||
case "$OSTYPE" in
|
||||
linux*)
|
||||
|
@ -26,7 +26,7 @@ case "$OSTYPE" in
|
|||
sudo yum install -y curl
|
||||
fi
|
||||
|
||||
powershell-6.0.0_beta.8-1.rhel.7.x86_64.rpm
|
||||
powershell-6.0.0_beta.9-1.rhel.7.x86_64.rpm
|
||||
;;
|
||||
ubuntu)
|
||||
if ! hash curl 2>/dev/null; then
|
||||
|
@ -36,10 +36,10 @@ case "$OSTYPE" in
|
|||
|
||||
case "$VERSION_ID" in
|
||||
14.04)
|
||||
package=powershell_6.0.0-beta.8-1.ubuntu.14.04_amd64.deb
|
||||
package=powershell_6.0.0-beta.9-1.ubuntu.14.04_amd64.deb
|
||||
;;
|
||||
16.04)
|
||||
package=powershell_6.0.0-beta.8-1.ubuntu.16.04_amd64.deb
|
||||
package=powershell_6.0.0-beta.9-1.ubuntu.16.04_amd64.deb
|
||||
;;
|
||||
*)
|
||||
echo "Ubuntu $VERSION_ID is not supported!" >&2
|
||||
|
@ -52,7 +52,7 @@ case "$OSTYPE" in
|
|||
sudo zypper install -y curl
|
||||
fi
|
||||
|
||||
|
||||
|
||||
case "$VERSION_ID" in
|
||||
42.1)
|
||||
package=powershell-6.0.0_beta.6-1.suse.42.1.x86_64.rpm
|
||||
|
@ -70,7 +70,7 @@ case "$OSTYPE" in
|
|||
;;
|
||||
darwin*)
|
||||
# We don't check for curl as macOS should have a system version
|
||||
package=powershell-6.0.0-beta.8-osx.10.12-x64.pkg
|
||||
package=powershell-6.0.0-beta.9-osx.10.12-x64.pkg
|
||||
;;
|
||||
*)
|
||||
echo "$OSTYPE is not supported!" >&2
|
||||
|
|
Loading…
Reference in a new issue