What is your setup? Because I'm using Fedora and installed Unity because I was curious and deleted it after having problems (I don't remember the error though).
Installed via Unity Hub downloaded as an appimage.
I can't find the download link apart for this one - https://forum.unity.com/threads/unity-hub-v-1-0-0-is-now-ava...