2019.2 Installation Guide - Petalinux
source ~/.bashrc 5.1 Required system settings Ensure /bin/sh is bash , not dash:
source /opt/pkg/petalinux/2019.2/settings.sh To confirm: petalinux 2019.2 installation guide
echo $PETALINUX Should output the install path. Add to your ~/.bashrc : source ~/