Intsalling UE4 on Ubuntu 18.04LTS

I’m using ubuntu 18.04LTS, I’ve downloaded the UE4 and extract it. now I’m trying to install it with the following steps :

  1. ./Setup.sh

  2. ./GenerateProjectFiles.sh

  3. make
    When I try to perform the 3 (make) step I keep on getting this :

    bash “/home/gradimut/AppJar/UnrealEngine-release/Engine/Build/BatchFiles/Linux/Build.sh” CrashReportClient Linux Shipping
    Building CrashReportClient…
    Target is up to date
    Total build time: 0.22 seconds (NoActionsToExecute executor: 0.02 seconds)
    bash “/home/gradimut/AppJar/UnrealEngine-release/Engine/Build/BatchFiles/Linux/Build.sh” ShaderCompileWorker Linux Development
    Building ShaderCompileWorker…
    Performing 4 actions (4 in parallel)
    [1/4] Compile Module.VulkanShaderFormat.cpp
    [2/4] Compile Module.ShaderFormatOpenGL.cpp
    In file included from /home/gradimut/AppJar/UnrealEngine-release/Engine/Intermediate/Build/Linux/B4D820EA/ShaderCompileWorker/Development/ShaderFormatOpenGL/Module.ShaderFormatOpenGL.cpp:2:
    In file included from /home/gradimut/AppJar/UnrealEngine-release/Engine/Source/Developer/ShaderFormatOpenGL/Private/GlslBackend.cpp:46:
    In file included from ThirdParty/Linux/LibCxx/include/c++/v1/sstream:174:
    In file included from ThirdParty/Linux/LibCxx/include/c++/v1/ostream:138:
    In file included from ThirdParty/Linux/LibCxx/include/c++/v1/ios:216:
    ThirdParty/Linux/LibCxx/include/c++/v1/__locale:39:11: fatal error: ‘xlocale.h’ file not found

    include <xlocale.h>

          ^
    

    In file included from /home/gradimut/AppJar/UnrealEngine-release/Engine/Intermediate/Build/Linux/B4D820EA/ShaderCompileWorker/Development/VulkanShaderFormat/Module.VulkanShaderFormat.cpp:2:
    In file included from /home/gradimut/AppJar/UnrealEngine-release/Engine/Source/Developer/VulkanShaderFormat/Private/VulkanBackend.cpp:54:
    In file included from ThirdParty/Linux/LibCxx/include/c++/v1/sstream:174:
    In file included from ThirdParty/Linux/LibCxx/include/c++/v1/ostream:138:
    In file included from ThirdParty/Linux/LibCxx/include/c++/v1/ios:216:
    ThirdParty/Linux/LibCxx/include/c++/v1/__locale:39:11: fatal error: ‘xlocale.h’ file not found

    include <xlocale.h>

          ^
    

    1 error generated.
    1 error generated.
    ERROR: UBT ERROR: Failed to produce item: /home/gradimut/AppJar/UnrealEngine-release/Engine/Binaries/Linux/libShaderCompileWorker-VulkanShaderFormat.so
    Total build time: 2.69 seconds (Local executor: 0.00 seconds)
    Makefile:378: recipe for target ‘ShaderCompileWorker’ failed
    make: *** [ShaderCompileWorker] Error 5

  1. sudo mkdir -p UnrealEngine-4.24.3-release && cd UnrealEngine-4.24.3-release/

  2. sudo wget https://github.com/EpicGames/UnrealEngine/archive/4.24.3-release.tar.gz

  3. sudo tar -xvvf 4.24.3-release.tar.gz

3( sudo ./Setup.sh && ./GenerateProjectFiles.sh && make

Start UE4 in /Unreal-Engine-4.24.3/UnrealEngine-4.24.3-release/Engine/Binaries/Linux/UE4Editor

My Setup is Corei7 th Gen, 64GB RAM, 1TB HDD (5200 RPM), video card Nvidia Geforce GTX 1060.

ETA compile time:
Total time in Local executor: 219,40 seconds (-/+ 4.05 hours)
Total execution time: 222,03 seconds (-/+ 4.10 hours)

Hope this helps!

@firebitsbr

i’m getting error 404. on wget. how do i update?

can i get 4.25 instead as this is what i am using on my windows machine?