I’ve tried to install PowerShell on Ubuntu 20.04, but ran into issies with what looks like a glibc problem:
$ sudo snap install powershell --classic
powershell 7.0.0 from Microsoft PowerShell✓ installed
[2020-04-17 20:20:22] tsm@hawk:~
$ pwsh
Failed to load ���, error: /snap/powershell/104/opt/powershell/../../lib/x86_64-linux-gnu/librt.so.1: undefined symbol: __clock_nanosleep, version GLIBC_PRIVATE
Failed to bind to CoreCLR at '/snap/powershell/104/opt/powershell/'
Failed to create CoreCLR, HRESULT: 0x80008088
Some info about my system and the snap version that I have installed:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu Focal Fossa (development branch)"
$ snap info powershell
name: powershell
summary: PowerShell for every system!
[...]
installed: 7.0.0 (104) 67MB classic