Language:
Page Info
Tags:
Skill Level:
Engine Version:

3 - Building UE4 on Linux

In preparation for this critical step, you downloaded a copy of Unreal Engine's source code onto your hard disk. During this part of the tutorial, you'll get to run several utilities from the terminal to build a binary of UE4 on your Linux machine.

Our development and support teams currently use the latest version of Ubuntu; as a result, we may not be able to provide support for other Linux distributions (including other versions of Ubuntu). Additionally, please make sure your system has at least ten (10) gigabytes of disk space before performing the following steps.

  1. Inside the root directory, run Setup.sh from the terminal to setup the files needed to generate the project files.

    RunSetupShellScript_Linux.png

  2. Now, run GenerateProjectFiles.sh from the terminal to generate your project files.

    RunGenPrjFilesShellScript_Linux.png

  3. To build the project, run make from the terminal.

    RunMakeFile_Linux.png

Depending on your system's specifications, it may take anywhere from ten minutes to over an hour to compile the engine. If you want to shorten the time it takes to compile the engine from source, we recommend compiling the source code on a machine that has at least eight (8) gigabytes of RAM with a multi-core processor having at least eight (8) cores (including hyperthreading).

End Result

built_engine.png

At this point, you should have a fully built binary of UE4 on your hard disk. The time has come to run the engine on your Linux system!

Tags