Installing the Unity Hub on OpenSUSE

With the full release of version 3.0 of the Unity Hub, Unity has stopped listing the old appimage installer in favor of repositories for certain distros and package managers. Currently there are very few (literally two or three) officially supported distros, which leaves OpenSUSE users like me mostly out of luck. They do have a CentOS/RHEL rpm repo hosted, so with a little configuring we can install on SUSE.

Zypper Instructions

From Unity’s instructions, we will create a repo file in the same way as they do for CentOS, but send it to our zypper repos instead of yum.

sudo sh -c 'echo -e "[unityhub]\nname=Unity Hub\nbaseurl=https://hub.unity3d.com/linux/repos/rpm/stable\nenabled=1\ngpgcheck=1\ngpgkey=https://hub.unity3d.com/linux/repos/rpm/stable/repodata/repomd.xml.key\nrepo_gpgcheck=1" > /etc/zypp/repos.d/unityhub.repo'

Next, refresh the zypper database and import the gpg key.

sudo zypper --gpg-auto-import-keys refresh

And finally, install.

sudo zypper in unityhub

Zypper may warn you that it can’t find a source for libuuid. You can ignore this by entering 2 at the prompt. I haven’t noticed any issues with running the hub and editor without this library.

The above was adapted from the official Unity docs. For those still prefering the appimage and installer, I have found the beta archive is currently still hosted on the Japanese Unity download page. Newer appimages may be able to be extracted/created from the official repositories for unsupported distros.