其他分享
首页 > 其他分享> > 海思SDK安装时,无法运行sdk.unpack

海思SDK安装时,无法运行sdk.unpack

作者:互联网

问题

海思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 查看

sharemon 发布了33 篇原创文章 · 获赞 4 · 访问量 4113 私信 关注

标签:bin,shell,system,dash,sh,海思,unpack,bash,SDK
来源: https://blog.csdn.net/sharemon/article/details/104160078