---
title: 部署EDK2
description: "1. 安装EDK2。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/251RC2/confidt/kunpengtee_16_0020.html
sourcePath: /source/zh/kunpengboostkithistory/251RC2/confidt/kunpengtee_16_0020.html
indexId: 799f9744c32791da10b5f1224033410e9b8f88416f069a2db8fb0c77bc33734172
---
# 部署EDK2

1. 安装EDK2。

  a. 执行以下命令查看openEuler 24.03 LTS SP2源edk2-aarch64版本号。

```
yum list | grep edk2-aarch64
```


  b. 安装版本号大于等于23的edk2-aarch64。

```
yum install edk2-aarch64 -y
```


2. 安装完成后，查看edk2-aarch64的路径。

```
rpm -ql edk2-aarch64
```


3. 将QEMU_EFI.fd文件大小对齐到64M。

```
fallocate -l $((64 * 1024 * 1024)) /usr/share/edk2/aarch64/QEMU_EFI.fd
```
