Using the AppImage is much simpler.
- Go to https://github.com/powershell/powershell.
- Scroll down to the Get PowerShell section, and find the AppImage link under community-supported distributions.
- Download the AppImage and place it at a convenient location.
- Run chmod a+x PowerShell-<version>-<architecture>.AppImage to make the AppImage executable.
- Call the AppImage to run PowerShell. You may be asked if you'd like the AppImage installed on your computer. Select Yes if you would like that.