| Written by: | jahid_0903014 |
Score: -4 votes: 7 Format: Article |
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.
Requirements:
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.
Recommendations:
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
Installation Steps:
Installing Dependencies:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install mono-devel
sudo apt-get install mono-gmcs mono-xbuild mono-dmcs libmono-corlib4.0-cil 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.3 libfreetype6-dev libsdl2-dev libgtk-3-dev libmono-microsoft-build-tasks-v4.0-4.0-cil xdg-user-dirs
Preparing Graphics For Unreal Engine:
You need to update your mesa drivers:
sudo apt-add-repository ppa:oibaf/graphics-drivers
sudo apt-get update
sudo apt-get dist-upgrade
Get The Source:
git clone https://github.com/3dluvr/UnrealEngine.git
This will download around 500 MB or more
cd UnrealEngine
./Setup.sh
It will download additional third party libraries (~3GB) and prepare it for compile
Generate Makefiles:
find Engine/Source/Programs/AutomationTool -name "*Automation.csproj" -exec sed -i "s/ToolsVersion=\"11.0\"/ToolsVersion=\"4.0\"/g" "{}" \;
export MSBuildToolsVersion=4.0
./GenerateProjectFiles.sh
Edit makefile:
open Makefile from the UnrealEngine main folder with a text editor and put the following lines just before the .PHONY statement at bottom.
shaders-clean:
rm -rf Engine/Intermediate/Shaders Engine/Saved Engine/DerivedDataCache Engine/Intermediate/CachedAssetRegistry.bin
editor-clean:
rm -rf Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor Engine/Binaries/Linux/libUE4Editor-* Engine/Binaries/Linux/UE4Editor
clean:
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:
make SlateViewer ShaderCompileWorker UnrealLightmass UnrealPak UE4Editor
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:
cd Engine/Binaries/Linux/
./UE4Editor
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.
Enjoy...
References:
https://wiki.unrealengine.com/Building_On_Linux
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: 3 years ago.
Last edited: 2 years ago.
Reviewed: 3 years ago.
Read 0 times.
| Comments | |||
| 1 year ago |
SMarais |
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. |
|
| 1 year ago |
caelulum |
this tutorial is outdated and the custom builds in this person's personal git repos are outdated and non-functional | |
| 1 year ago |
caelulum |
$ 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) |
|
| 2 years ago |
jahid_0903014 |
What's your specs? @TheDevilYt | |
| 2 years ago |
jahid_0903014 |
Try: 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
Ideas
Tutorials
Hardware
Software
Countries
Users
Moderation
Chat room
ISO Images