天天看點

海思SDK安裝時,無法運作sdk.unpacksudo dpkg-reconfigure dash

海思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 檢視