我正在尝试编译自己的包,并使用git克隆。
root@LEDE:/mnt/sda1/lede-sdk-17.01.2-ar71xx-nand_gcc-5.4.0_musl-1.1.16.Linux-x86_64/package# git https://...
-ash: git: not found所以我在我的U盘上安装了git:
root@LEDE:~# opkg install -d usb git安装成功。
但随后我尝试运行git,它返回了相同的消息:
-ash: git: not found即使它安装在usb上:
root@LEDE:~# opkg install git
Package git (2.11.0-1) installed in usb is up to date.发布于 2020-04-29 22:28:17
您需要在$path变量中包含安装程序的路径,或者通过调用可执行文件的完整路径来运行可执行文件。我不确定usb文件夹在哪里,但它可能是usb/git clone example.com或/usb/git clone example.com
https://stackoverflow.com/questions/61496483
复制相似问题