Install Vulkan
sudo pacman -S vulkan-devel- Run
vkcubeto ensure that vulkan is working. (You should see a rotating cube with the on it.)
Git Clone AUR package (downloads to your home folder.)
See https://aur.archlinux.org/packages/unreal-engine-bin for developers notes.
git clone https://aur.archlinux.org/unreal-engine-bin.git
Download Unreal Engine for Linux
- Visit https://www.unrealengine.com/linux and download the current version of Unreal Engine 5.
- Download the corresponding Linux Fab and Quixel files as well.
- Copy/Move the ZIP folder into the
~/unreal-engine-binfolder.
Build the Package
cd ~/unreal-engine-bin- Install with
makepkg -si
Install Fab and Quixel Add-ons
- Extract Zip files in
~/Downloadsfolder - Copy
FabandQuixelfolder from~/Downloads/Linux_Fab_5.*/Engine/Plugins/into/opt/unreal-engine/Engine/Plugins. (You will need sudo/admin privileges to do so.) To open the /opt/ folder under sudo, typeadmin:///into the address bar of your file manager, type your password and then navigate to the above file directory.
Add Environment Variables to Desktop Launcher
- Find your desktop file for UE5 in
/usr/share/applications/unreal-engine.desktop - Edit the file with nano or VSCode and replace the text after
Exec=withExec=env SDL_VIDEODRIVER=x11 VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /opt/unreal-engine/Engine/Binaries/Linux/UnrealEditor %F
If all has gone well, you will be able to launch Unreal Engine with minimal issues. Keep in mind that UE5 is the application that I have had the most difficulty getting to work on Linux just because of the UI glitches and crashing that ensues when on the wrong desktop compositor.
Desktop Environment REALLY matters for UE5
No matter if you are using X11 or Wayland, most compositors basically break the UE5 user interface, so if you are planning on using Unreal Engine 5 on Linux, make sure that your desktop environment that you use supports disabling compositing entirely like XFCE or x11 Window Mangers like i3, bspwm or oxwm.
For example, I use Cinnamon for my “normal” environment, but I will switch to OXWM or XFCE to use Unreal Engine because it just works so much better and is much less buggy. Cinnamon uses Mutter Compositing and it can be problematic for UE5 UI elements. If you are a simple person, its probably better to just feel out what desktop environment works for everything you like and stick to one.