
Enter the magic command at your own peril: make I’ve timed this on my 16-threaded dual Xeon machine and it took around 90 minutes. EPIC reckon this can take anywhere from 10 minutes to over an hour. The next part however does depend on how fast your CPU is. This shouldn’t take longer than a couple of minutes. Let’s setup the necessary project files with.

While the above did a sort of “pre-flight check”, the actual linking and compiling comes next. IF all went well, you’ll get control of your Terminal window back with the message “Setup successful”. I’ve had a window pop up asking if I wanted to register the Unreal file types (to which I’ve agreed).

Grab a cup of coffee while CentOS downloads some dependencies and does other exciting things for us. Change into this folder and begin the building process by executing the included Setup.sh file. Git should present us with a single directory in the current folder, namely UnrealEngine. So that we’re both on the same page here, let’s start with some essentials on which we can build should the need arise: yum groupinstall "Development Tools" They’re not guaranteed to exist on every system by default. We need some packages that will let us compile source code. Remote: Compressing objects: 100% (32/32), done. It’ll finish with something like this: remote: Enumerating objects: 34, done. It’ll ask for your GitHub credentials and download all necessary files to your hard drive. Open a Terminal Window with Administrator rights, make yourself a memorable directory somewhere nice, navigate to it and let git do the heavy lifting. Click the green button on the right to obtain the URL for the release version (or any other version you prefer).

I’ll use git from the command line to checkout the latest version. If you’re running Unreal Engine on Windows and would like to build a Linux version of your game, it may be easier to Cross Compile option and create a Linux binary straight from Windows.

There are no pre-compiled binaries available for any distribution, so let’s compile from source. While the engine source code is available for free, it’s not Open Source. Linux knowledge and a GitHub account are required, and your GitHub account needs to be linked against your EPIC Games account. The latest version at the time of writing is 4.22.3 to be exact. Today we’re installing Unreal Engine on a CentOS 7 system. I usually write about Unreal Engine over on my other website, because it tackles more 3D related topics – but compiling the engine from source is a bit more “blood and gore” thing so I thought it best placed here with all the other Linux topics.
