Installing Unreal Engine in Linux Mint/Ubuntu
Unreal Engine is a commercial software for game development which itself is a open source project. You can get hold of that source either buying it from them or getting a student pack for free. For installing it in linux you need the source. Getting the source for free or how to buy it , is out of the scope of this tutorial. So just assume that you have rightful access to their private repository in github, beforehand.
1. A powerful pc with at least 8 GB of RAM and >=2.5 GHz processor
2. Considerably high quality graphics card, (intel integrated graphics 4600 or later will do)
3. Internet connection, at least 3 GB of data will be downloaded.
1. Linux Mint 17 LTS or later
2. Ubuntu 14.04.1 LTS or later
3. Other Ubuntu family distributions, 14.04.1 LTS or later
Preparing Graphics For Unreal Engine:
You need to update your mesa drivers:
Get The Source:
This will download around 500 MB or more
It will download additional third party libraries (~3GB) and prepare it for compile
open Makefile from the UnrealEngine main folder with a text editor and put the following lines just before the .PHONY statement at bottom.
rm -rf Engine/Intermediate/Shaders Engine/Saved Engine/DerivedDataCache Engine/Intermediate/CachedAssetRegistry.bin
rm -rf Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor Engine/Binaries/Linux/libUE4Editor-* Engine/Binaries/Linux/UE4Editor
rm -f Engine/Binaries/Linux/Unreal* Engine/Binaries/Linux/UE* \
Engine/Binaries/Linux/libUnreal* Engine/Binaries/Linux/libUE* Engine/Binaries/Linux/libSh* \
Engine/Binaries/Linux/ShaderCompileWorker* Engine/Binaries/Linux/SlateViewer* Engine/Binaries/Linux/CrashReportClient*
rm -rf Engine/Intermediate/Build Engine/Binaries/Linux/HTML5 Engine/Binaries/Linux/Linux Engine/Binaries/Linux/Android Engine/Binaries/Linux/IOS Engine/Binaries/Linux/HTML5
make sure the indented section at the beginning of every line is a single tab not white space/s
Finally Build The Editor:
Have a powerfull PC (at least 8 GB RAM and >=2.5ghz processor) and wait, because it will take time to build.
Run The Editor:
For first run, it will start compiling shaders and it will take time as well, but you can close it without completing this compilation. Next time you run UE4 editor, it will start compiling the shaders from the position it was left.
Warning: This includes third party softwares and repositories and does a lot of changes to your system, if you don't trust them don't use it or use it at your own risk.
Tags: Unreal Engine, UE4, Unreal Engine 4
Created: 2 years ago.
Last edited: 2 years ago.
Reviewed: 2 years ago.
Read 0 times.
|2 months ago||
I an using Unreal Engine 4.14 on Linux Mint Cinnamon 18.1 and there is only few things to do to be able to use it nicely:
Edit file UNREAL_ENGINE_ROOT_DIR/Engine/Build/BatchFiles/Linus/BuildThirdParty.sh and at line 173 replace if [[ "$ID_LIKE" == "debian" && "$VERSION_ID" == "16.04" ]]; by if [[ "$ID_LIKE" == "debian" && "$VERSION_ID" == "16.04" ]] || [[ "$ID" == "linuxmint" && "$VERSION_ID" == "18.1" ]];
EVERY SPACE COUNTS!!!
You can replace the version id by 18 instead of 18.1 if you use previous version of linux mint (works for both version this way)
edit file UNREAL_ENGINE_ROOT_DIR/Engine/Build/BatchFiles/Linux/Setup.sh and at line 61 replace [code]elif [[ "$VERSION_ID" == 16.04 ]]; then[/code] by [code]elif [[ "$VERSION_ID" == 16.04 || "$VERSION_ID" == 18.1 ]]; then[/code]
this is all that is required to have the builder running. It will install some dependencies from ubuntu repositories and as for now it runs on almost all my computers.
Keep in mind the editor requires at least 8Gb of memory to build.
|3 months ago||
|this tutorial is outdated and the custom builds in this person's personal git repos are outdated and non-functional|
|3 months ago||
$ make SlateViewer ShaderCompileWorker UnrealLightmass UnrealPak UE4Editor
[48/50] Link libShaderCompileWorker-PackageDependencyInfo.so
clang: error: no such file or directory: '/home/user/UnrealEngine/Engine/Source/ThirdParty/hlslcc/hlslcc/lib/Linux/x86_64-unknown-linux-gnu/libhlslcc.a'
[49/50] Link libShaderCompileWorker-StreamingFile.so
[50/50] Link ShaderCompileWorker
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: /home/user/UnrealEngine/Engine/Binaries/Linux/libShaderCompileWorker-ShaderFormatOpenGL.so
Cumulative action seconds (8 processors): 0.00 building projects, 240.42 compiling, 0.00 creating app bundles, 0.00 generating debug info, 4.60 linking, 0.00 other
UBT execution time: 46.87 seconds
Makefile:311: recipe for target 'ShaderCompileWorker' failed
make: *** [ShaderCompileWorker] Error 5
(Linux Mint 18, Cinnamon)
|1 year ago||
|What's your specs? @TheDevilYt|
|1 year ago||
sudo apt-add-repository ppa:oibaf/graphics-drivers
sudo apt-get update
sudo apt-get install -f
sudo apt-get dist-upgrade
Other tutorials from jahid_0903014
- Installing softwares in linux
- Share internet from Linux to windows with squid3 proxy server
- Connecting Realtek wireless modems in linux
- Type in your native language in Linux Mint
- Install Matlab in linux
- install latest eclipse in linux mint
- Adding new item in the menu
- Connecting Zoom Ultra modem in Linux Mint
- install latest Netbeans (7.4) in Linux mint
- Editing fstab to automount partitions at startup
- System Backup: A manual approach
- Share internet from your linux distro to your android phone
- Full system upgrade to a newer release without fresh install
- Dim laptop monitor immediately after the laptop being unplugged
- How to install or uninstall kernel in linux
- How to customize Linux Mint live cd/dvd
- How to install Mediatek MT7630E wireless LAN driver in Linux Mint/Ubuntu
- Installing Teletalk Flash Modem in Linux Mint/Ubuntu
- How to make a self-extracting shell script from a TAR archive