busybox in embedded linux shows “applet not found”

后端 未结 2 505
感情败类
感情败类 2021-02-09 18:37

I compiled busybox myself,and I put it in our embedded linux. But I have some questions.

Question 1:When I try to use some command such as gzip,it prints \"gzip: applet

2条回答
  •  离开以前
    2021-02-09 19:16

    The answer to questions 1 and 2 is: you must set your PATH variable first or compile busybox with FEATURE_PREFER_APPLETS enabled. You can set the PATH variable with:

    $ export PATH=/bin:/sbin:/usr/bin:/usr/sbin
    

    A busybox applet is a small application that is usually found in the UNIX common utilities (defined in the POSIX standard). This applets are compiled into a single executable: busybox.

提交回复
热议问题