21

Is there any way to install Unity 3D without wine? Installation from terminal would be good.

27

Unity3D is being released via a "Download Helper" now. Instructions to use it are as follows:

  1. Head to the Unity-on-Linux Release Thread and go to the last page. The last post will contain the latest release. As of the time of this posting, that's this one. Download it.
  2. Make that download executable. For example, chmod +x UnitySetup-2018.2.7f1
  3. Install the prerequisites via

    sudo apt install libgtk2.0-0 libsoup2.4-1 libarchive13 libpng16-16 libgconf-2-4 lib32stdc++6 libcanberra-gtk-module
    
  4. Run the installer.

    ~/Downloads/UnitySetup-2018.2.7f1
    
  5. I like to place it in the /opt folder once it's installed and create a link so that I can launch it from the command line.

    cd
    sudo mv Unity-2018.2.7f1 /opt/Unity3D
    sudo ln -s /opt/Unity3D/Editor/Unity /usr/bin/unity3d
    

Once that's done, you can type unity3d to launch the Unity3D Editor.

  • But its not recommended as unity dropped debian packages afterwards and all unity 2018 versions need to be installed in the above way, Unity Hub is also not available on the deb package. – Jatin-CBS Sep 25 '18 at 1:11
  • The deb file of the Unity 3D Linux Editor Installer from here doesn't work in 18.04. It is an older release that was released in 2017. – karel Sep 25 '18 at 9:14
  • 2
    Looks like it's working. Good idea to move it to /opt rather than install it directly. It's a good way to avoid installing as root. – David Kamer Oct 31 '18 at 18:44
  • Segmentation fault (core dumped) i get this error when i try to run Unity – sasha romanov Aug 14 at 22:55
22

The preferred way of installing Unity on Linux is by first installing Unity Hub.

Unity Hub setup file:

https://public-cdn.cloud.unity3d.com/hub/prod/UnityHub.AppImage

You can install the prefered version of Unity in the Installs section of Unity Hub application. It will automatically download and install it for you.

Install Unity on Ubuntu Linux

Source:

https://www.linuxdeveloper.space/install-unity-linux/

2

The last .deb version was actually Unity 2017.2.1f1. After that all the other version came in as .sha extension. .deb version actually automatically installs all the required dependencies. But now you have to install the dependencies on your own first.

Install the dependencies

sudo apt install gconf-service lib32gcc1 lib32stdc++6 libasound2 libc6 libc6-i386\
libcairo2 libcap2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libfreetype6 libgcc1\
libgconf-2-4 libgdk-pixbuf2.0-0 libgl1-mesa-glx libglib2.0-0 libglu1-mesa libgtk2.0-0\
libnspr4 libnss3 libpango1.0-0 libstdc++6 libx11-6 libxcomposite1 libxcursor1\
libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxtst6 zlib1g debconf npm

I also recommend installing build essentials

sudo apt install build-essential 

After that go to this link Unity on Linux: Release Notes and Known Issues - Unity Forum

Click on .html download links of the Unity version you want and select Linux download assistant.

After it is installed you can simply double click the setup file or run that using command line by:

cd Downloads
./UnitySetup*

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.