3 - Building UE4 on Linux

Learn how to build Unreal Engine from source.

Windows
MacOS
Linux
On this page

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, read about Hardware and Software Specifications , and make sure your system has at least one hundred (100) 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
Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback