]>
us-delaporte.pagekite.me Git - dotfiles.git/blob - install/pi_powershell7.sh
0127478d560adea1d1c42c793ea3f62305b6a053
2 ## https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-7.1#raspbian
5 ###################################
11 # Install libunwind8 and libssl1.0
12 # Regex is used to ensure that we do not install libssl1.0-dev, as it is a variant that is not required
13 sudo apt
-get install '^libssl1.0.[0-9]$' libunwind8
-y
15 ###################################
16 # Download and extract PowerShell
18 # Grab the latest tar.gz
19 wget https
://github.com
/PowerShell
/PowerShell
/releases
/download
/v7.1
.2/powershell
-7.1
.2-linux-arm32.
tar.gz
21 # Make folder to put powershell
24 # Unpack the tar.gz file
25 tar -xvf .
/powershell
-7.1
.2-linux-arm32.
tar.gz
-C /etc
/powershell