Ubuntukylin install UE4.27.2
ubuntukylin
Compile, test and install Unreal Engine on the (domestic) Ubuntu Kylin Linux platform.
Ubuntu Kylin System
The one chosen here is the official enhanced version
https://www.ubuntukylin.com/downloads/.
You can also choose the corresponding one Ubuntu22.04 LTS
. The only difference is that Ubuntu Kylin has made some customizations, brought some domestic applications and made some configurations to the system. (Alibaba source, etc.), saving you some trouble.
Just follow the next step to install the system, which is relatively simple.
Here, take an old laptop to install Ubuntu Kylin and test the installation of UE4.27.2.
After installing the system, use the toolbox that comes with the system to check the notebook hardware configuration.
Compile and install UE4.27.2
Mainly refer to the official document Linux Quick Start-https://docs.unrealengine.com/4.27/zh-CN/SharingAndReleasing/Linux/BeginnerLinuxDeveloper/SettingUpAnUnrealWorkflow/ .
Download UE source code
Select UE4.27.2 here, mainly download UnrealEngine-4.27.2-release.zip( Source code (zip) )
and Commit.gitdeps.xml
.
https://github.com/EpicGames/UnrealEngine/releases?page=2
Note: Downloading the source code requires a GitHub account and an Epic account (see official documentation for details).
After the download is complete, unzip it, Commit.gitdeps.xml
copy and replace the downloaded file in the unzipped directory /UnrealEngine-4.27.2-release/Engine/Build/Commit.gitdeps.xml
.
Compile UE source code
There are three main steps:
- Enter the root directory of the source code folder,
Ctrl+Alt+T
open a terminal, and enter./Setup.sh
. - In the root directory of the source code folder,
Ctrl+Alt+T
open the terminal and enter./GenerateProjectFiles.sh
. - To build the project, run from the terminal
make
.
Running UE4 on Linux
You can add the compiled code UE4Editor
to the system user environment variable, and you can directly enter it in the terminal every time you start it UE4Editor
to open the UE editor.
vim ~/.bashrc
Add the corresponding path at the end of the file:
export PATH=/home/wblong/UE4/UnrealEngine-4.27.2-release/Engine/Binaries/Linux/:$PATH
Log out and log in again to take effect.
other
UE4.27.2 is used by default Vulkan
and needs to be installed after compilation is completed Vulkan
.