Finding files (curl)

Hello,

Had run 'opkg install curl' and says it is already installed. However, can't find the curl.h in /usr/include .

Does anyone know where it is or how to search for files on openwrt? Find and locate don't show me where the curl files are.

What would you advise?

Thanks and best regards,

If they're executable, you can use
which curl
/usr/bin/curl

find seems to work if you give it a directory eg the root.
find / -name curl
/overlay/upper/usr/bin/curl
/usr/bin/curl

opkg --force-reinstall install curl
opkg files curl
type curl

OpenWrt is not a reasonable platform to try to build software on. Installing a library does not install the header files, to the best of my knowledge.

Software for OpenWrt should be built as a package in the build system.

3 Likes