Install Unreal Engine 4 (UE4) – Tutorial

Unreal Engine 4 logo - Jitesh Gosar - AI Engineer

This post shows the steps to install Unreal Engine 4.

Unreal Engine is the world’s most open and advanced real-time 3D creation tool. Continuously evolving to serve not only its original purpose as a state-of-the-art game engine, today it gives creators across industries the freedom and control to deliver cutting-edge content, interactive experiences, and immersive virtual worlds. 

The reason I used Unreal Engine till now is to create an Andoird Game for fun and to create Synthetic Image Dataset using Nvidia’s plugin NDDS.

Install Unreal Engine 4 in Ubuntu

  • Follow the instructions written on the official website, or follow the steps below.
  • Register to an Epic Games Account.
  • Choose Creators License.
install unreal engine 4 license
  • Connect Epic Games Account with your Github account.
  • Accept the invitation of Epic Games on Github.
  • In the terminal run the following commands,
git clone https://github.com/EpicGames/UnrealEngine.git
    • If you only want to clone/download a specific version, for example, v4.22, then run the following commands,
git clone -b 4.22 https://github.com/EpicGames/UnrealEngine.git
  • Enter your Github login information
Github login on ubuntu terminal to install unreal engine 4
cd UnrealEngine  # Current size around 1.4 GB
./Setup.sh
./GenerateProjectFiles.sh
make

Select Yes, if the below window pops-up

pop-up: register UE file types to install unreal engine 4

Setting on .bashrc to install Unreal Engine

Open .bashrc

nano ~/.bashrc

Add these lines to .bashrc file

UE_HOME=/home/jitesh/3d/UnrealEngine  # Change "UE_HOME" to your UE4 directory path
function unrealbuild {
         CURR_DIR=`pwd`;
         PROJ_NAME=$(basename ${1%.uproject});
         $UE_HOME/Engine/Build/BatchFiles/Linux/Build.sh $PROJ_NAME Linux Development -editorrecompile "${CURR_DIR}/${PROJ_NAME}.uproject" -progress -editor -game -NoHotReloadFromIDE
}
complete -f -X '!*.@(uproject)' unrealbuild

function unrealeditor {
    DIR="$( cd "$( dirname "$i" )" && pwd )"
    $UE_HOME/Engine/Binaries/Linux/UE4Editor $DIR/$1
}
complete -f -X '!*.@(uproject)' unrealeditor

function unrealgen {
    DIR="$( cd "$( dirname "$i" )" && pwd )"
    pushd $UE_HOME
    ./GenerateProjectFiles.sh -project="$DIR/$1" -game -engine -editor
    popd
}
complete -f -X '!*.@(uproject)' unrealgen

# For automation tests, if used
function unrealtest {
    DIR="$( cd "$( dirname "$i" )" && pwd )"
        $UE_HOME/Engine/Binaries/Linux/UE4Editor $DIR/$1 -Game -ExecCmds="Automation RunTests $2" -log
}
complete -f -X '!*.@(uproject)' unrealtest

Change UE_HOME to the path of your Unreal Engine directory

sudo sh ~/.bashrc

Reboot the PC

Running UE4

cd Engine/Binaries/Linux/
./UE4Editor

UE4 plugin - NDDS

There is a useful Unreal Engine plugin, NDDS (NVIDIA Deep learning Dataset Synthesizer) that used to create Syntheic dataset for Machine learning. If you want to know more about it and install the plugin then visit the post Install NDDS.

UE4 Game

The Unreal Engine is a game engine developed by Epic Games

I created a simple 2D game name “Jinja the Ninja” for Android, Windows, and Linux systems. You can find a demo video for this game that I uploaded on youtube and the Android version of this game on the Google Play Store. In the future, I will post an article or a youtube video as an easy tutorial to make an Unreal engine Game and deploy it on Google play.

Video Tutorial

I’m going to add a video tutorial of the same topic and some other interesting topics on channel 17 Jutsu.

If you like to know the update, then subscribe to the Youtube channel 17 Jutsu.

3 thoughts on “Install Unreal Engine 4 (UE4) – Tutorial”

  1. Pingback: Install NDDS (NVIDIA Deep learning Dataset Synthesizer) - Jitesh Gosar

  2. Pingback: HackMD - Technology realated posts in MarkDown - Jitesh Gosar

  3. Pingback: HackMD - Technology realated posts in MarkDown - Jitesh Gosar

Leave a Comment

Your email address will not be published. Required fields are marked *