English / Deutsch | Print version Plop Linux  

<< Previous

Table of Contents

Next >>
Mate Desktop

Unity 5 Editor - Native on Linux - The Unity 3D Game Engine

The Editor of the Game Engine Unity 5 is able to run native on Linux (64-bit). It's not longer required to run it with wine.

On Plop Linux, you have to install PostgreSQL and Node.js to run the Unity Editor.

On troubles, see the file ~/.config/unity3d/Editor.log for more information.

How to install

Download the latest Unity Editor for Linux from the forum thread on the Unity Website Unity on Linux: Release Notes and Known Issues. Currently its unity-editor-5.4.0f3+20160727_amd64.deb.

Download postgresql-9.4.5.tar.bz2 or the latest version from https://www.postgresql.org/download/.

• Install PostgreSQL

tar xfjv postgresql-9.4.5.tar.bz2

cd postgresql-9.4.5

./configure --prefix=/opt && make

sudo make install

cd .. && rm -rf postgresql-9.4.5

Download node-v4.4.7.tar.gz or the latest version from https://nodejs.org/en/download/.

• Install Node.js

tar xfzv node-v4.4.7.tar.gz

cd node-v4.4.7

./configure --prefix=/opt && make

sudo make install

cd .. && rm -rf node-v4.4.7

• Install the Unity 5 Editor

dpkg -x unity-editor-5.4.0f3+20160727_amd64.deb unity5

sudo cp -avr unity5/{opt/*,usr/*} /opt

sudo chown root:root /opt/Unity/Editor/chrome-sandbox

sudo chmod 4755 /opt/Unity/Editor/chrome-sandbox

rm -rf unity5

Now you are able to start the Unity 5 Editor from the Application menu under Accessories/Unity.

Optional: Start from the command line

You can create a small script to start the Unity Editor from the command line.

File: /opt/bin/unity

/opt/Unity/Editor/Unity "$@"

Don't forget to sudo chmod 755 /opt/bin/unity

© 2020 by Elmar Hanlhofer