下载地址:
https://www.xilinx.com/support/download.html
1.修改为bash,执行下面的命令并且选择No
sudo dpkg-reconfigure dash
2. petalinux-2021中提到的required packages
sudo apt-get install iproute2 gawk python3 python build-essential gcc git make net-tools libncurses5-dev tftpd zlib1g-dev libssl-dev flex bison libselinux1 gnupg wget git-core diffstat chrpath socat xterm autoconf libtool tar unzip texinfo zlib1g-dev gcc-multilib automake zlib1g:i386 screen pax gzip cpio python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3
3.安装petalinux
./petalinux-v2019.1-final-installer.run /home/XXXXX/Desktop/Xilinx_Work/Petalinx2019_1/