We had previously written about how to install Unity3D on Fedora 24, and a lot has changed since writing that procedure way back in August of 2016, including a flurry of Unity updates as well as about 7 new Fedora releases if you did the hard math. Not only that, we now have the Unity Hub which made its appearance in late 2018 and having that tool at our disposal makes the process of installing Unity on Linux so much easier. In fact, if you are installing Unity on Windows or MacOS, the process is pretty much the same.
So with that said, we felt that it was time to post an updated how-to if you are planning on installing Unity on Fedora Linux or really, any Linux distribution of your choosing.
How to install Unity on Fedora
1. Install Unity Hub
Back in ye olden days when Unity was still young and innocent, installing Unity on any flavour of Linux took a little bit more work. Nowadays, thanks to the Unity Hub, you can install Unity on Fedora with minimal effort.
a) Start by going to the Unity Store and clicking Download Unity Hub
b) You’ll receive a pop up asking you to save the file UnityHub.AppImage. Click Save File.
c) Copy UnityHub.AppImage somewhere meaningful (preferably not in Downloads) for example, to your home folder:
[anb@home Downloads]mkdir ~/UnityHub
[anb@home Downloads]mv UnityHub.AppImage ~/UnityHub
d) Open up a terminal and browse to the location where you saved UnityHub.AppImage ,make the file executable and run it:
[anb@home UnityHub]$chmod +x UnityHub.AppImage
[anb@home UnityHub]$./UnityHub.AppImage
e) Accept the license and click yes to integrate Unity Hub with your menus (or not, the choice is yours). Unity Hub is now installed. In fact it is only an executable which will be used to install Unity in the next step.
2. Install Unity on Fedora
The Unity Hub gives you a view on your various projects and Unity Installs. If you are installing Unity on Fedora Linux for the first time, it likely says “No Unity Version”. Let’s go ahead and install a version of Unity.
a) Click Add
b) You will now be presented with a choice of the Latest Official Releases as well as a few of the Latest Pre-Releases.
c) To keep it simple, we’ll choose the most recent Official Release and click Next.
d) Next you have a choice to Add modules to your install. Make your selections based on which build support you’ll want (Android, iOS, Mac, Windows, etc). You can always modify this later on.
e) Once you’ve made your choice, click Done.
Now within Unity Hub under Installs, you’ll now see a progress bar as your selected version of Unity is downloaded and installed. And that’s it. Once complete, you just need to click on Projects and New and you can begin a new game dev project with your brand new Unity installation. Enjoy!
You should maybe update this. You can use the “RHEL or CentOS” installation guide from Unity instead: https://docs.unity3d.com/hub/manual/InstallHub.html#install-hub-linux
It’s like 4 commands if you have yum installed.