Skip to content

Commit b971ba0

Browse files
TravisEz13sdwheeler
authored andcommitted
1 parent e6d5c85 commit b971ba0

File tree

2 files changed

+131
-22
lines changed

2 files changed

+131
-22
lines changed

reference/docs-conceptual/PowerShell-Support-Lifecycle.md

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -64,29 +64,36 @@ supported. These packages are marked as `Community` in the table.
6464
Platforms listed as `Experimental` aren't officially supported, but are available for
6565
experimentation and feedback.
6666

67-
| Platform | 6.1 | 6.2 |
68-
|---------------------------------------------------|:-----------:|:-----------:|
69-
| Windows 7, 8.1, and 10 | Supported | Supported |
70-
| Windows Server 2008 R2, 2012 R2, 2016 | Supported | Supported |
71-
| [Windows Server Semi-Annual Channel][semi-annual] | Supported | Supported |
72-
| Ubuntu 16.04 and 18.04 | Supported | Supported |
73-
| Ubuntu 18.10 (via Snap Package) | Community | Community |
74-
| Ubuntu 19.04 (via Snap Package) | Community | Community |
75-
| Debian 9 | Supported | Supported |
76-
| CentOS 7 | Supported | Supported |
77-
| Red Hat Enterprise Linux 7 | Supported | Supported |
78-
| openSUSE 42.3 | Supported | Supported |
79-
| Fedora 28 | Supported | Supported |
80-
| macOS 10.12+ | Supported | Supported |
81-
| Arch | Community | Community |
82-
| Raspbian | Community | Community |
83-
| Kali | Community | Community |
84-
| AppImage (works on multiple Linux platforms) | Community | Community |
85-
| [Snap Package](https://snapcraft.io/powershell) | See note | See note |
67+
| Platform | 6.2 | 7.0 |
68+
|---------------------------------------------------|:-------------:|:---------:|
69+
| Windows 7, 8.1, and 10 | Supported | Supported |
70+
| Windows Server 2008 R2, 2012 R2, 2016 | Supported | Supported |
71+
| [Windows Server Semi-Annual Channel][semi-annual] | Supported | Supported |
72+
| Ubuntu 16.04 and 18.04 | Supported | Supported |
73+
| Ubuntu 18.10 (via Snap Package) | Community | Community |
74+
| Ubuntu 19.04 (via Snap Package) | Community | Community |
75+
| Debian 9 | Supported | Supported |
76+
| Debian 10 | Not Supported | Supported |
77+
| CentOS 7 | Supported | Supported |
78+
| Red Hat Enterprise Linux 7 | Supported | Supported |
79+
| openSUSE 42.3 | Supported | Supported |
80+
| Fedora 28 | Supported | Supported |
81+
| Fedora 29, 30 | Not Supported | Supported |
82+
| Alpine 3.8 | See Note | See Note |
83+
| Alpine 3.9 and 3.10 | Not Supported | See Note |
84+
| macOS 10.12+ | Supported | Supported |
85+
| Arch | Community | Community |
86+
| Raspbian | Community | Community |
87+
| Kali | Community | Community |
88+
| AppImage (works on multiple Linux platforms) | Community | Community |
89+
| [Snap Package](https://snapcraft.io/powershell) | See note | See note |
8690

8791
> [!NOTE]
8892
> Snap packages are supported the same as the distribution you're running the package on.
8993
94+
> [!NOTE]
95+
> CIM, PowerShell Remoting, and DSC are not supported on Alpine.
96+
9097
## PowerShell releases end-of-life
9198

9299
Based on [Lifecycle of PowerShell Core](#lifecycle-of-powershell-core), the following table lists

reference/docs-conceptual/install/Installing-PowerShell-Core-on-Linux.md

Lines changed: 105 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,105 @@ sudo apt-get install -f
247247
sudo apt-get remove powershell
248248
```
249249

250+
## Debian 10
251+
252+
> [!NOTE]
253+
> Debian 10 is only supported in PowerShell 7.0 and newer.
254+
255+
### Installation via Direct Download - Debian 10
256+
257+
Download the tar.gz package `powershell_7.0.0-preview-7-linux-x64.tar.gz` from the [releases][] page onto
258+
the Debian machine.
259+
260+
Then, in the terminal, execute the following commands:
261+
262+
```sh
263+
sudo apt-get update
264+
# install the requirements
265+
sudo apt-get install -y \
266+
less \
267+
locales \
268+
ca-certificates \
269+
libicu63 \
270+
libssl1.1 \
271+
libc6 \
272+
libgcc1 \
273+
libgssapi-krb5-2 \
274+
liblttng-ust0 \
275+
libstdc++6 \
276+
zlib1g \
277+
curl
278+
279+
# Download the powershell '.tar.gz' archive
280+
curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.0.0-preview.4/powershell-7.0.0-preview.4-linux-x64.tar.gz -o /tmp/powershell.tar.gz
281+
282+
# Create the target folder where powershell will be placed
283+
sudo mkdir -p /opt/microsoft/powershell/7-preview
284+
285+
# Expand powershell to the target folder
286+
sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7-preview
287+
288+
# Set execute permissions
289+
sudo chmod +x /opt/microsoft/powershell/7-preview/pwsh
290+
291+
# Create the symbolic link that points to pwsh
292+
sudo ln -s /opt/microsoft/powershell/7-preview/pwsh /usr/bin/pwsh-preview
293+
294+
# Start PowerShell
295+
pwsh-preview
296+
```
297+
298+
## Alpine 3.9 and 3.10
299+
300+
> [!NOTE]
301+
> Alpine 3.9 and 3.10 are only supported in PowerShell 7.0 and newer.
302+
303+
### Installation via Direct Download - Alpine 3.9 and 3.10
304+
305+
Download the tar.gz package `powershell_7.0.0-preview-7-linux-x64.tar.gz` from the [releases][] page onto
306+
the Alpine machine.
307+
308+
Then, in the terminal, execute the following commands:
309+
310+
```sh
311+
# install the requirements
312+
sudo apk add --no-cache \
313+
ca-certificates \
314+
less \
315+
ncurses-terminfo-base \
316+
krb5-libs \
317+
libgcc \
318+
libintl \
319+
libssl1.1 \
320+
libstdc++ \
321+
tzdata \
322+
userspace-rcu \
323+
zlib \
324+
icu-libs \
325+
curl
326+
327+
sudo apk -X https://dl-cdn.alpinelinux.org/alpine/edge/main add --no-cache \
328+
lttng-ust
329+
330+
# Download the powershell '.tar.gz' archive
331+
curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.0.0-preview.4/powershell-7.0.0-preview.4-linux-alpine-x64.tar.gz -o /tmp/powershell.tar.gz
332+
333+
# Create the target folder where powershell will be placed
334+
sudo mkdir -p /opt/microsoft/powershell/7-preview
335+
336+
# Expand powershell to the target folder
337+
sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7-preview
338+
339+
# Set execute permissions
340+
sudo chmod +x /opt/microsoft/powershell/7-preview/pwsh
341+
342+
# Create the symbolic link that points to pwsh
343+
sudo ln -s /opt/microsoft/powershell/7-preview/pwsh /usr/bin/pwsh-preview
344+
345+
# Start PowerShell
346+
pwsh-preview
347+
```
348+
250349
## CentOS 7
251350

252351
> [!NOTE]
@@ -403,7 +502,10 @@ rm -rf /usr/bin/pwsh /opt/microsoft/powershell
403502
> [!NOTE]
404503
> Fedora 28 is only supported in PowerShell Core 6.1 and newer.
405504
406-
### Installation via Package Repository (preferred) - Fedora 27, Fedora 28
505+
> [!NOTE]
506+
> Fedora 29 and 30 are only supported in PowerShell 7.0 and newer.
507+
508+
### Installation via Package Repository (preferred) - Fedora 28, 29, and 30
407509

408510
PowerShell Core for Linux is published to official Microsoft repositories for easy installation and
409511
updates.
@@ -428,7 +530,7 @@ sudo dnf install -y powershell
428530
pwsh
429531
```
430532

431-
### Installation via Direct Download - Fedora 27, Fedora 28
533+
### Installation via Direct Download - Fedora 28, 29, and 30
432534

433535
Download the RPM package `powershell-6.2.0-1.rhel.7.x86_64.rpm` from the [releases][] page onto the
434536
Fedora machine.
@@ -447,7 +549,7 @@ sudo dnf install compat-openssl10
447549
sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.2.0/powershell-6.2.0-1.rhel.7.x86_64.rpm
448550
```
449551

450-
### Uninstallation - Fedora 27, Fedora 28
552+
### Uninstallation - Fedora 28, 29, and 30
451553

452554
```sh
453555
sudo dnf remove powershell

0 commit comments

Comments
 (0)