linuxunity-game-engineversionarchlinuxmanual

How do I manually install older versions of unity (2019) for Linux (Arch)


I am aware of this page: https://unity3d.com/get-unity/download/archive but the downloads are only for windows and mac and despite having it installed, the "unity hub" button does nothing. I have found places to download even older versions like 2018 but I need version "2019.2.5f1". Can I download and use the mac version? Is there somewhere I can download this compiled for Linux without using unity hub? Thanks for any help.


Solution

  • The UnityHub link will have a version hash in it which is unique across platforms. With that hash, you can build the Linux version download URL yourself.

    In your case, you need 2019.2.5f1, which gives you the UnityHub link unityhub://2019.2.5f1/9dace1eed4cc

    You can download the tarball at the following URL:

    https://download.unity3d.com/download_unity/9dace1eed4cc/LinuxEditorInstaller/Unity.tar.xz

    The unity-editor package is a good one to modify the PKGBUILD file for if you'd like to install an arbitrary version as a proper package.

    1. Clone the project
    2. Tweak the PKGBUILD version and hash to the one you want
    3. Run makepkg -g to generate the checksum for the new tarball
    4. Insert the new checksum into the PKGBUILD
    5. Run makepkg -p PKGBUILD to compile the package
    6. Run sudo pacman -U ./unity-editor-${pkgversion}.pkg.tar to install your newly built package.