Skip to content

Instantly share code, notes, and snippets.

@unitycoder
Last active August 2, 2021 06:15
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unitycoder/7ae633ffb489e5372b03ce3a13b7b339 to your computer and use it in GitHub Desktop.
Save unitycoder/7ae633ffb489e5372b03ce3a13b7b339 to your computer and use it in GitHub Desktop.
Install Unity3D on Ubuntu Linux Server
- see latest releases here: https://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/
using ubuntu terminal (commandline/shell)
- download with: wget http://beta.unity3d.com/download/a2454d41e248/unity-editor_amd64-5.5.3xf1Linux.deb
- install: sudo dpkg -i unity-editor_amd64-5.5.3xf1Linux.deb
missing dependencies error..google!!
- try: sudo apt-get -f install
- try: sudo apt-get update
- try: sudo apt-get upgrade -f
- try install again: sudo dpkg -i unity-editor_amd64-5.5.3xf1Linux.deb
- if finished successfully, see where it installed: dpkg --contents unity-editor_amd64-5.5.3xf1Linux.deb
- looks like install folder is: /opt/Unity/Editor/
- try running it: ./Unity -nographics -batchmode -force-free -quit
- view editor log to confirm it runs: cat ~/.config/unity3d/Editor.log
looks like needs username
"Failed to activate/update license. Missing or bad username and password. Please try again using valid credentials or contact"
- try running it: ./Unity -nographics -batchmode -force-free -username ASDF -password ASDF -quit
"Failed to activate/update license. Timeout occured while trying to update license. Please try again later or contact"
maybe this? https://issuetracker.unity3d.com/issues/new-installed-unity-will-report-timeout-error-in-commandline-activiation
- run without batchmode: ./Unity -nographics -batchmode -force-free -username ASDF -password ASDF -quit
seems to work!
@sandeepgahlawat
Copy link

Hey, does it work?
I need to install unity3d on my Linux ec2 instance and run it in batch mode to create Asset bundle pipeline but I am sure if unity3D works on Linux.
Can you help me even if it's pointing me in the right direction?
Thanks in Advance

@unitycoder
Copy link
Author

haven't tested since this time, see comments also:
https://unitycoder.com/blog/2017/05/19/install-run-unity-in-linux-terminal/
apparently some things have changed, but i've read that people have managed to get it running..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment