- 预安装这些库
sudo apt-get install zlib1g:i386 net-tools gawk diffstat chrpath socat xterm autoconf libtool texinfo gcc-multilib libsdl1.2-dev tftpd-hpa
- 将系统中版本大于2.7的python链接到/bin/python
sudo ln /bin/python3 /bin/python
- 在文件
/var/lib/dpkg/status
后附加一个fake pack
Package: python
Status: install ok installed
Maintainer: Fake Entry <fake@example.com>
Architecture: all
Version: 2.7.17
Description: fake package for petalinux
- 设置安装目录&安装
sudo chown -R $USER:$USER /opt
mkdir -p /opt/pkg/petalinux/2018.3
./petalinux-v2018.3-final-installer.run /opt/pkg/petalinux/2018.3