So I managed to package my Unreal Engine project with the server included, but the part I’m getting stuck on now is the install.sh script. I believe the issue now is that I am not installing all the dependencies needed to run an Unreal project. With Windows it was very simple, just the VC++ redistributable and the Unreal Engine prereq setup file. Here’s the example install.bat script for a Windows server,
vc_redist.x64.exe /q Engine\Extras\Redist\en-us\UE4PrereqSetup_x64.exe /q
Whereas with a Linux build, I’m not sure which dependencies to install since Amazon has their own version of Linux, so I’m also not entirely sure about syntax either. So just to be safe, I decided to try to install all the dependencies for Ubuntu that were found in this link: https://wiki.unrealengine.com/Building_On_Linux#Installing_Dependencies
And this is what my install.sh script currently looks like,
#!/bin/sh sudo chmod +x "./GameLiftTutorial/Binaries/Linux/GameLiftTutorialServer" sudo ln -s "GameLiftTutorial/Binaries/Linux/GameLiftTutorialServer" "GameLiftTutorialServer" sudo yum -y install gcc gcc-c++ make mono-dev cmake dos2unix centos-release-scl freetype gtk xdg-utils
And the result was that these packages were not available:
If anyone has a working install.sh script, that would be greatly appreciated! Or if anyone can help install the needed dependencies, that would also be greatly appreciated!