Unity is a multiplatform game engine developed by Unity Technologies.
The engine can be used to create three-dimensional (3D) and two-dimensional (2D) games, as well as interactive simulations and other experiences. It is commonly used for game development, but there is activity in other areas.
In this article we will see how to install on Ubuntu 22.04, however, you can adapt the instructions for any other version or even another distribution.
First install FUSE:
Configure for your user:
Download the AppImage from Unity, give execute permission and then run with the commands below:
Or download via your browser nese link .
It will ask you:
Now create your project in: ← Preferences, then in the left corner in Installs and then in the button in the upper right corner: ADD .
After that choose the desired version and click on Next . Then check the option Linux Build Support(IL2CPP) and then click DONE .
After that click on the gears icon in the upper right corner. Then License Management, then Unity Personal and also select I don’t… .
After Unity appears, note that a blue progress bar will start on top of it, wait for download and install and after finished click Projects and then NEW, choose 3D and then CREATE create your game!
It will ask if you want to enter Safe Mode click on the Ignore button!
Create a directory in /opt
Move the ./UnityHub.AppImage
by renaming there:
Create a .desktop
file in /usr/share/applications
:
And paste this content inside and save:
Download the icon and save it as unityhub.png
in /usr/share/pixmaps
:
Create a symbolic link to be a $PATH
binary:
Now look in your Dash in Development
In some cases you will need to reload the panel for the icon to appear: press Alt + F2 , type the letter r and press enter
Have fun creating!