Last active
August 6, 2022 14:40
-
-
Save powareverb/310e1a6beb9c3101f4c1f79a01fb5958 to your computer and use it in GitHub Desktop.
pwsh-rpi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ################################### | |
| # Prerequisites | |
| # Update package lists | |
| sudo apt-get update | |
| # Install libunwind8 and libssl1.0 | |
| # Regex is used to ensure that we do not install libssl1.0-dev, as it is a variant that is not required | |
| sudo apt-get install '^libssl1.0.[0-9]$' libunwind8 -y | |
| ################################### | |
| # Download and extract PowerShell | |
| # Grab the latest tar.gz | |
| wget https://github.com/PowerShell/PowerShell/releases/download/v7.2.5/powershell-7.2.5-linux-arm32.tar.gz | |
| # Make folder to put powershell | |
| mkdir ~/powershell | |
| # Unpack the tar.gz file | |
| tar -xvf ./powershell-7.2.5-linux-arm32.tar.gz -C ~/powershell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment