flashx
June 26, 2023, 7:57am
1
I want to install this package from github
[helmiau/PHPTeleBotWrt](https://github.com/helmiau/PHPTeleBotWrt)
i already do
opkg update
opkg install git
opkg install git-http
opkg install php8-cli
opkg install php8-mod-curl
wget https://raw.githubusercontent.com/helmiau/PHPTeleBotWrt/master/phpbotmgr -O /root/phpbotmgr && chmod +x /root/phpbotmgr
but when i try to execute ./phpbotmgr i
it says file not found
is there something that cause this error?
slh
June 26, 2023, 8:08am
2
The procedure of downloading a binary from the internet and then executing it is rather horrible from a security standpoint - and the script itself is also rather buggy…
But the issue at hand would be the bash dependency, which isn't installed by default (expect more trouble later on).
2 Likes
flashx
June 26, 2023, 9:32am
3
flashx:
./phpbotmgr i
what is bash dependency and how to install it?
bash contains functionality required by the script, features the busybox shell doesn't provide.
opkg update
opkg install bash
2 Likes
flashx
June 26, 2023, 10:46am
5
thanks a lot, it works now
system
Closed
August 6, 2024, 5:59pm
6
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.