问题
海思SDK安装时,无法运行sdk.unpack
BASH 和 DASH 的问题。
Debian和Ubuntu中,/bin/sh默认已经指向dash,这是一个不同于bash的shell,它主要是为了执行脚本而出现,而不是交互,
它速度更快,但功能相比bash要少很多,语法严格遵守POSIX标准。
解决办法:
# sudo dpkg-reconfigure dash
Using dash as the system shell will improve the system's overall performance. It does not alter the shell presented to interactive users.
Use dash as the default system shell (/bin/sh)?
选择no
可以用: ls -l /bin/sh 查看
本文详细介绍了在Debian和Ubuntu系统中安装海思SDK时遇到的无法运行sdk.unpack的问题及其原因。问题根源在于/bin/sh默认指向dash而非bash,导致功能受限。文章提供了修改默认shell为bash的解决办法,确保SDK安装过程顺利。
6309

被折叠的 条评论
为什么被折叠?



