What are the stand alone Linux player dependencies?

What's the minimum set of packages needed to run the stand alone Unity player on Ubuntu?

Trying to run the stand alone player on Ubuntu server in batch mode.

more ▼

asked Nov 15, 2012 at 04:38 PM

avatar image

76 3 3 5

I also would like to find out what dependencies are needed so bumping this question.

Nov 27, 2012 at 06:47 PM mwinteringham

Bump!! I also want this question answered!

Nov 27, 2012 at 10:04 PM Benproductions1
(comments are locked)
10|3000 characters needed characters left

1 answer: sort oldest

Since this hasn't been answered yet, I thought I will suggest going through every binary you can find provided with the exported game and run ldd.


$ ldd ./mono.so

This should at least provide you with lists of what the game needs to link to at runtime. Run the lists through the unique command to get rid of repeated results.

I am going to be doing this shortly before I create some .rpms for our games, I will post my findings here :).

EDIT: Sorry for the delay. I lost this thread when the Unity forums had that large change a while back.

 [kpedersen@sandiego angrybots]$ ldd angrybots.x86 
     linux-gate.so.1 =>  (0xb778a000)
     libGLU.so.1 => /lib/libGLU.so.1 (0xb76ee000)
     libGL.so.1 => /usr/lib/nvidia-304xx/libGL.so.1 (0xb7612000)
     libX11.so.6 => /lib/libX11.so.6 (0x4d1ef000)
     libXext.so.6 => /lib/libXext.so.6 (0x4d3b9000)
     libXcursor.so.1 => /lib/libXcursor.so.1 (0x4da67000)
     libdl.so.2 => /lib/libdl.so.2 (0x4cd6e000)
     libpthread.so.0 => /lib/libpthread.so.0 (0x4cd75000)
     librt.so.1 => /lib/librt.so.1 (0x4cdef000)
     libm.so.6 => /lib/libm.so.6 (0x4cdaa000)
     libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4cfbd000)
     libc.so.6 => /lib/libc.so.6 (0x4cbad000)
     /lib/ld-linux.so.2 (0x4cb85000)
     libstdc++.so.6 => /lib/libstdc++.so.6 (0x4dba6000)
     libnvidia-tls.so.304.108 => /usr/lib/nvidia-304xx/tls/libnvidia-tls.so.304.108 (0xb760c000)
     libnvidia-glcore.so.304.108 => /usr/lib/nvidia-304xx/libnvidia-glcore.so.304.108 (0xb5906000)
     libxcb.so.1 => /lib/libxcb.so.1 (0x4d1c5000)
     libXrender.so.1 => /lib/libXrender.so.1 (0x4d542000)
     libXfixes.so.3 => /lib/libXfixes.so.3 (0x4d929000)
     libXau.so.6 => /lib/libXau.so.6 (0x4d1e9000)

Basically the dependencies pulled in by Unity is impressively small. All of them are provided by Linux standard base (LSB), X11 or the implementation of OpenGL. This makes a nice change and should certainly help a game exported by Unity run on the many different Linux distributions (for a while anyway).

The provided libmono.so doesn't pull in anything extra either. I don't believe there are any external libraries loaded dynamically either so this is pretty much it :)

FYI: Unity Editor (tested 4.2.0f4) is also working very nicely in Wine for me with the following guide: http://appdb.winehq.org/objectManager.php?sClass=version&iId=28175 If you had trouble before, give it another shot with the latest version of Wine :)

more ▼

answered Jan 07, 2013 at 11:57 AM

avatar image

46 1 4

@k.pedersen did you ever figure out the dependencies?

Sep 16, 2013 at 06:42 PM scarletshark

bump ! bump !

Oct 18, 2013 at 04:57 PM Alesk
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Nov 15, 2012 at 04:38 PM

Seen: 1727 times

Last Updated: Oct 19, 2013 at 04:57 PM