Install Unreal 4 Engine on Linux
Before you can run the Linux code to install the unreal 4 engine you must first get access to it. The First part of the tutorial will discuss how to set up authentication so you can have access to the servers hosting the unreal 4 engine you want to use on your Linux system.
The minimum requirements are :
*Quad-core Intel or AMD processor, 2.5 GHz or faster
*GeForce 470 GTX or AMD Radeon 6870 HD series card or higher
Step One: Go to GitHub and create a free account.
Step Two: Go to EpicGames(Unreal4) and create a free account.
Step Three: Sign into your new EpicGames account and link your new gitHub account created above to the epic games account you just created by logging into your epicGames account and hovering over your profile name, click “personal”. On the left hand side click “connected Accounts” and for the option of github make sure you click the connect button. Follow on screen directions to sign into your github and authenticate the handshake.
*Important: Step Four: Go to your email and find an email sent from EpicGames(Unreal4) and there is an invite for you to view some files on the github account for unreal 4. Click the link in the email and follow on-screen instructions to be able to access the unreal 4 engine on linux.
Downloading & Installing Unreal 4 Engine on Linux
In linux the $ represents a logged in user of your OS while the # sign represents admin access also know as root.
git clone -b 4.18 https://github.com/EpicGames/UnrealEngine.git
Open the terminal in linux as a user($) and type the command above. It will ask for your user name and password for the previous account you created. Type in your user name followed by the enter key. Your password will not show but type it in anyways and press enter. Confirm this with typing “yes” when asked.
Use this command below to change to the directory of our Linux terminal so we can run some more code to install it!cd UnrealEngine
Then use this command pictured below in the terminal and always press enter after typing the code. To copy and paste the code just hold CTRL and also press “v” once to copy highlighted text and code. Holding CTRL and P will paste the highlighted text copied earlier into the terminal so its easy../Setup.sh
Setup of the unreal 4 engine on linux will start and also require downloading some moderately big files. We installed this on linux mint 18 but many other versions are supported as well.
Finalize the install with the last command posted below:./GenerateProjectFiles.sh
Finalizing your setup
Use this command and this will take some time to build the unreal Engine.Make
*Only if you have Linux mint version!If your using Linux Mint run this command:sudo apt install git build-essential clang-3.8 libglew-dev libcheese8 libcheese-gtk25 libclutter-gst-3.0-0 libcogl20 libclutter-gtk-1.0-0 libclutter-1.0-0 xserver-xorg-input-all
And then these too: *Run them one line at a time and press enter if needed.sudo unlink /usr/bin/clang sudo unlink /usr/bin/clang++ sudo ln -s /usr/bin/clang++-3.8 /usr/bin/clang sudo ln -s /usr/bin/clang++-3.8 /usr/bin/clang
*Only if your on Ubuntu OS 16.04! If your on Ubuntu use this command:sudo apt-get install build-essential mono-mcs mono-devel mono-xbuild mono-dmcs mono-reference-assemblies-4.0 libmono-system-data-datasetextensions4.0-cil libmono-system-web-extensions4.0-cil libmono-system-management4.0-cil libmono-system-xml-linq4.0-cil cmake dos2unix clang-3.5 libfreetype6-dev libgtk-3-dev libmono-microsoft-build-tasks-v4.0-4.0-cil xdg-user-dirs
Note: You can only install this on the $ or user terminal. If you already downloaded it to the root # then use this command and replace “bob” with you OS username: chown -R bob UnrealEngine