Installation Procedures

Adversarial simulator installation procedure.

Adversarial simulator depends on two components 1) Unreal engine 2) Nvidia Drive SDK

As the Nvidia Drive SDK is only compatible with ubuntu - 18.04 it is advisable to install the unreal engine and Nvidia Drive SDK on to ubuntu. If you prefer to install the unreal engine over windows then you will be able to only batch process output of Unreal Engine to Nvidia Drive SDK.

1. On Windows

2. On Linux

Currently, Unreal ** don't supply a binary installer of UE4 for Linux users. The good news is that you can compile a binary of Unreal Engine from the same source code that we use to develop the engine. If you want to access our source code, you'll have to register for an Epic Games account, sign up for a GitHub account, associate your GitHub username with your Epic Games account, and set up Git on your Linux machine.

1. Registering for an Epic Games Account

If you want to create games with Unreal Engine or contribute to the future of UE4 on Linux, you'll need to have a valid Epic Games account.

  1. Navigate to UnrealEngine.com .

  2. Click Get Unreal.

  3. Fill-out our 'Join the Community' form and click Sign Up.

    Create_Account-1.PNG

  4. Read our Unreal Engine End User License Agreement (EULA) prior to clicking Accept. Refer to our EULA FAQ if you have additional questions about the EULA's terms and conditions.

    EULA-1.PNG

There are many benefits for having an account with us, including (but not limited to) access to the Unreal Engine community, where you'll connect with other UE4 Linux developers, and where you'll be able to keep up with the latest news about Unreal Engine.

Setting up Git

Now that you've registered for an Epic Games account, you're ready to work through the following steps to gain access to the UE4 source code on GitHub.

  1. Sign up for a GitHub account at GitHub.com .

    GItHub_Header.PNG

  2. Go to your Epic Games account and click Connected Accounts.

Connected_Accounts-1.PNG
  1. Link your GitHub username by clicking Connect under the GitHub icon.

  2. To authorize the connection click Authorize EpicGames.

Section Result

By now, you've registered for an Epic Games account and linked it with your GitHub username. Also, you've installed Git and you're ready for the next step, where you'll fork and clone the UE4 source code from the Unreal Engine GitHub repository.

2 - Downloading UE4 on Linux

Now that you've set up Git on your Linux machine, you're ready to download the Unreal Engine source code from our GitHub site . There are a couple of ways to download the UE4 source code, one way is to use the download feature on our GitHub page, and the other way is to clone the Unreal Engine repository with your Git client. We'll cover both ways on this page.

Downloading from GitHub

If don't want to clone the Unreal Engine repository with Git, you can use the Download ZIP button on our GitHub site .

  1. First, select the branch you want to download by clicking Branch: on the left side of the page. For more info on branches in the Unreal Engine GitHub repository, please see the Source Branches Reference page.

  2. After selecting the branch you want to download, click Clone or download, which is located on the right side of the page.

    CloneorDownloadButton.png

  3. Click Download ZIP to download the Unreal Engine source code.

DownloadSourceButton.png
  1. Finally, decompress UnrealEngine-(branch_name).zip onto your hard disk.

Cloning with Git

If you're new to cloning with Git, refer to GitHub's Cloning Guide before executing the following steps.

  1. Click the Unreal Engine link to access our repository .

  2. Click Clone or download.

CloneorDownloadButton.png
  1. Click the Copy URL button to copy the clone URL for the repository.

  2. Open Git Bash, type git clone, and paste the URL you copied in the previous step. 1. Clone EpicGames/UnrealEngine repository

    git clone https://github.com/EpicGames/UnrealEngine -b release

    1. Run Setup.sh once.

      cd UnrealEngine

      ./Setup.sh

      The script will try to install additional packages (for certain distributions) and download precompiled binaries of third party libraries. It will also build one of the libraries on your system (LinuxNativeDialogs or LND for short).

      You should see ** SUCCESS ** message after running this step. If you don't, take a look into BuildThirdParty.log located in Engine/Build/BatchFiles/Linux directory.

    2. After the successful setup, you can generate makefiles (and CMakelists.txt).

      ./GenerateProjectFiles.sh

Last updated