I have successfully downloaded the Unity Hub, which gives me a file
UnityHub.AppImage
When I execute this File I get a nice menu and all and when I use the “Add …” button I can select “2019.2.8f1”. Unfortunately it says I only have 1,4GB free and it needs 5.4 GB. If I go to “Unity 2019.3.0b6” I cannot see any option to download for Linux also.
I have a separate drive reserved only for Unity so I have like 250GB of free space. Unfortunately it seems the download is always going to “/tmp” on my root partition which just has 1,4GB free, and that’s usually more than enough. After all, we are not in the Windows world where everything is clustered inside C:, right?
How can I get Unity on Linux? It seems the Hub is the only way to get it AND it is broken by design because it assumes “/tmp” has infinite size.
Or am I mistaken? Can I fix that problem somehow? Is there a way to download Unity without the Hub?
Regards,
Thomas.
P.S.: If this is really the only way and the download directory is somehow hardcoded PLEASE add an option or at least an environment variable where we can change the download directory. This would be very much Unix style too!
I have tested various versions of TMPDIR, TMP, TEMP and what-not and this does not work, unfortunately I think they are somehow relying on the value of the free disk space, too, so even if I made a symbolic link or bind mount out of “/tmp” I fear it would still not work… that issue seems to have been reported more than a year ago so I’m not sure if there is going to be a patch. Is there some other magic variable I can try?
Funny situation to have terrabytes of free disk space and not being able to install Unity!
I looked some into this issue. The program tests against free space of the root drive (most probably free space of drive of “/tmp”), but once it gets past this check the download starts in $TEMP. So the check is going to the wrong drive and should instead select the drive where $TEMP (or $TMP or $TMPDIR) is pointing to. I could start downloading by patching my kernel to return faked values for free space on any drive to non-root processes. I know this method is maybe a little out of reach for most Linux users, so a patch to Unity would be very much recommendable and should not be a lot of work for Unity developers.
I managed to construct this link from other Unity Linux version links. It does download a file but I have not tested it yet if it is the correct version and whatnot. Feel free to try it. It should the normal download manager.