跳转到主要内容

Vitis 2020.1 - PetaLinux rootfs 中 Vitis 2020.1 的软件包管理具有不正确的提要链接

<strong>问题描述:</strong>

<p data-aura-rendered-by="33:604;a">在<a target="_blank" href="https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_1/ug…;(UG1393) </a><em>Vitis ... &ldquo; </em><em>PetaLinuxrootfs 中的软件包管理&rdquo;</em>下的应用程序加速开发中,它描述了 Vitis 2020.1 版本的新软件包管理功能。</p>
<p data-aura-rendered-by="33:604;a">文档中提供的软件包提要链接不正确。</p>

<strong>解决方案</strong>

该提要已上传至 Xilinx 网站,正确链接如下:

http://petalinux.xilinx.com/sswreleases/rel-v2020/generic/rpm/

安装软件包的步骤:

1) 转到 repos 目录并下载与您的 SoC 设备匹配的 repo。

例如,对于 ZCU104 板等 UltraScale+ MPSoC EV 器件,下载:http://petalinux.xilinx.com/sswreleases/rel-v2020/generic/rpm/repos/zyn…

2)将目标板上的/etc/yum.repos.d/下的.repo文件替换为刚刚下载的.repo文件

3) 运行以下命令:

dnf 清除所有

4) 运行以下命令(可选):

dnf 回购

5)测试安装任何包:

dnf 安装 git