Ubuntukylin install UE4.27.2

Ubuntukylin install UE4.27.2

ubuntukylinCompile, 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.
Insert image description hereJust 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.
Insert image description here

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).
Insert image description hereAfter the download is complete, unzip it, Commit.gitdeps.xmlcopy and replace the downloaded file in the unzipped directory /UnrealEngine-4.27.2-release/Engine/Build/Commit.gitdeps.xml.

Insert image description here

Compile UE source code

There are three main steps:

  • Enter the root directory of the source code folder, Ctrl+Alt+Topen a terminal, and enter ./Setup.sh.
  • In the root directory of the source code folder, Ctrl+Alt+Topen the terminal and enter ./GenerateProjectFiles.sh.
  • To build the project, run from the terminal make.

Insert image description here

Running UE4 on Linux

Insert image description here
Insert image description here
Insert image description hereInsert image description here

You can add the compiled code UE4Editorto the system user environment variable, and you can directly enter it in the terminal every time you start it UE4Editorto 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.Insert image description here

other

UE4.27.2 is used by default Vulkanand needs to be installed after compilation is completed Vulkan.
Insert image description here
Insert image description here

reference

  1. https://www.cnblogs.com/jackchiang/p/4683469.html

  2. https://docs.unrealengine.com/4.27/zh-CN/SharingAndReleasing/Linux/BeginnerLinuxDeveloper/SettingUpAnUnrealWorkflow/

  3. https://blog.csdn.net/mrbaolong/article/details/134816863?spm=1001.2014.3001.5502

  4. https://www.ubuntukylin.com/downloads/

  5. https://github.com/EpicGames/UnrealEngine/releases?page=2

Guess you like

Origin blog.csdn.net/mrbaolong/article/details/134899401