Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 929
Tom1 Avatar asked Jan 20 '20 11:01

Tom1


2 Answers

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.
like image 119
Jacob Evan Shreve Avatar answered Sep 27 '22 22:09

Jacob Evan Shreve


If anyone is having this issue and want to download older versions from unityhub, there is solution that worked for me :

  1. Go to unity download archive
  2. Copy redirection link from the green button (you can right click it and select "Open Link in new tab", and then copy it from here)
  3. Once you have the link, open up your terminal and go to location in which you have UnityHub.AppImage
  4. Simply use this command : ./UnityHub.AppImage link where link is what you copied (for example ./UnityHub.AppImage unityhub://2019.3.13f1/d4ddf0d95db9 to download 2019.3.13 version of uinity)
like image 34
Bartek Avatar answered Sep 27 '22 21:09

Bartek