mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Update release version
This commit is contained in:
+24
-24
@@ -55,13 +55,13 @@ from then on, you just need to use `sudo apt-get upgrade powershell` to update i
|
||||
### Installation via Direct Download
|
||||
|
||||
Using [Ubuntu 14.04][], download the Debian package
|
||||
`powershell_6.0.0-beta.2-1ubuntu1.14.04.1_amd64.deb`
|
||||
`powershell_6.0.0-beta.3-1ubuntu1.14.04.1_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.2-1ubuntu1.14.04.1_amd64.deb
|
||||
sudo dpkg -i powershell_6.0.0-beta.3-1ubuntu1.14.04.1_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
|
||||
|
||||
Using [Ubuntu 16.04][], download the Debian package
|
||||
`powershell_6.0.0-beta.2-1ubuntu1.16.04.1_amd64.deb`
|
||||
`powershell_6.0.0-beta.3-1ubuntu1.16.04.1_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.2-1ubuntu1.16.04.1_amd64.deb
|
||||
sudo dpkg -i powershell_6.0.0-beta.3-1ubuntu1.16.04.1_amd64.deb
|
||||
sudo apt-get install -f
|
||||
```
|
||||
|
||||
@@ -160,13 +160,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.2-1ubuntu1.14.04.1_amd64.deb`
|
||||
`powershell_6.0.0-beta.3-1ubuntu1.14.04.1_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.2-1ubuntu1.14.04.1_amd64.deb
|
||||
sudo dpkg -i powershell_6.0.0-beta.3-1ubuntu1.14.04.1_amd64.deb
|
||||
sudo apt-get install -f
|
||||
```
|
||||
|
||||
@@ -205,19 +205,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.2-1.el7.x86_64.rpm`
|
||||
`powershell-6.0.0_beta.3-1.el7.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.2-1.el7.x86_64.rpm
|
||||
sudo yum install ./powershell-6.0.0_beta.3-1.el7.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.2/powershell-6.0.0_beta.2-1.el7.x86_64.rpm
|
||||
sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.3/powershell-6.0.0_beta.3-1.el7.x86_64.rpm
|
||||
```
|
||||
|
||||
### Uninstallation - CentOS 7
|
||||
@@ -251,19 +251,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.2-1.el7.x86_64.rpm`
|
||||
`powershell-6.0.0_beta.3-1.el7.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.2-1.el7.x86_64.rpm
|
||||
sudo yum install ./powershell-6.0.0_beta.3-1.el7.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.2/powershell-6.0.0_beta.2-1.el7.x86_64.rpm
|
||||
sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.3/powershell-6.0.0_beta.3-1.el7.x86_64.rpm
|
||||
```
|
||||
|
||||
### Uninstallation - Red Hat Enterprise Linux (RHEL) 7
|
||||
@@ -279,21 +279,21 @@ Installation instruction for OpenSUSE 42.1.
|
||||
### Installation via Direct Download - OpenSUSE 42.1
|
||||
|
||||
Using [OpenSUSE 42.1][], download the RPM package
|
||||
`powershell-6.0.0_beta.2-1.suse.42.1.x86_64.rpm`
|
||||
`powershell-6.0.0_beta.3-1.suse.42.1.x86_64.rpm`
|
||||
from the [releases][] page onto the OpenSUSE machine.
|
||||
|
||||
Then execute the following in the terminal:
|
||||
|
||||
```sh
|
||||
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
|
||||
sudo zypper install ./powershell-6.0.0_beta.2-1.suse.42.1.x86_64.rpm
|
||||
sudo zypper install ./powershell-6.0.0_beta.3-1.suse.42.1.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.2/powershell-6.0.0_beta.2-1.suse.42.1.x86_64.rpm
|
||||
sudo zypper install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.3/powershell-6.0.0_beta.3-1.suse.42.1.x86_64.rpm
|
||||
```
|
||||
|
||||
### Uninstallation - OpenSUSE 42.1
|
||||
@@ -319,14 +319,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.2-x86_64.AppImage`
|
||||
download the AppImage `PowerShell-6.0.0-beta.3-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.2-x86_64.AppImage
|
||||
./PowerShell-6.0.0-beta.2-x86_64.AppImage
|
||||
chmod a+x PowerShell-6.0.0-beta.3-x86_64.AppImage
|
||||
./PowerShell-6.0.0-beta.3-x86_64.AppImage
|
||||
```
|
||||
|
||||
The [AppImage][] lets you run PowerShell without installing it.
|
||||
@@ -340,14 +340,14 @@ and is a single binary.
|
||||
## macOS 10.12
|
||||
|
||||
Using macOS 10.12, download the PKG package
|
||||
`powershell-6.0.0-beta.2-osx.10.12-x64.pkg`
|
||||
`powershell-6.0.0-beta.3-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.2-osx.10.12-x64.pkg -target /
|
||||
sudo installer -pkg powershell-6.0.0-beta.3-osx.10.12-x64.pkg -target /
|
||||
```
|
||||
|
||||
### Uninstallation - macOS 10.12
|
||||
@@ -421,7 +421,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-alpha.18-1ubuntu1.16.04.1_amd64.deb
|
||||
dpkg -i powershell_6.0.0-beta.3-1ubuntu1.16.04.1_amd64.deb
|
||||
|
||||
# Start PowerShell
|
||||
powershell
|
||||
@@ -430,12 +430,12 @@ powershell
|
||||
### Uninstallation - Kali
|
||||
|
||||
```sh
|
||||
dpkg -r powershell_6.0.0-alpha.18-1ubuntu1.16.04.1_amd64
|
||||
dpkg -r powershell_6.0.0-beta.3-1ubuntu1.16.04.1_amd64
|
||||
```
|
||||
|
||||
## Paths
|
||||
|
||||
* `$PSHOME` is `/opt/microsoft/powershell/6.0.0-beta.2/`
|
||||
* `$PSHOME` is `/opt/microsoft/powershell/6.0.0-beta.3/`
|
||||
* 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`
|
||||
@@ -450,7 +450,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.2/`,
|
||||
Thus, `$PSHOME` is `/usr/local/microsoft/powershell/6.0.0-beta.3/`,
|
||||
and the symlink is placed at `/usr/local/bin/powershell`.
|
||||
|
||||
[releases]: https://github.com/PowerShell/PowerShell/releases/latest
|
||||
|
||||
Reference in New Issue
Block a user