我在 Ubuntu 2016.04.5 上安装 Petalinux_v2018.2
./petalinux-v2018.2.ir.run /opt/petalinux_2018.2/
但以错误结束:
./petalinux-v2018.2.ir.run: line 52: /opt/petalinux_2018.2/petalinux_installation_log: Permission denied
tee: /opt/petalinux_2018.2/petalinux_installation_log: Permission denied
INFO: Checking installer checksum...
tee: /opt/petalinux_2018.2/petalinux_installation_log: Permission denied
Please refer to the PetaLinux Tools Installation Guide.
Check the troubleshooting guide at the end of that manual, and if you are
unable to resolve the issue please contact customer support with file:
/opt/petalinux_2018.2/petalinux_installation_log
tee: /opt/petalinux_2018.2/petalinux_installation_log: Permission denied
INFO: Extracting PetaLinux installer...
tar: /tmp/tmp.eeJueiu2Ol: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tee: /opt/petalinux_2018.2/petalinux_installation_log: Permission denied
ERROR: Failed to extract the PetaLinux installer. Failed to install PetaLinux Tools!
任何解决此问题的帮助将不胜感激。
当我尝试
sudo ./petalinux-v2018.2.ir.run /opt/petalinux_2018.2/
它还提示错误:
ERROR: Exiting Installer: Cannot install as root user!