I am following the hellowrold guide, but chapter 5 compile gives me a .apk package instead of .ipk and opkg gives error installing on the router.
root@OpenWrt:~# opkg install /tmp/helloworld-1.0-r1.apk
Unknown package '/tmp/helloworld-1.0-r1.apk'.
Collected errors:
* opkg_install_cmd: Cannot install package /tmp/helloworld-1.0-r1.apk.
How do I fix this to be able to complete the rest of the guide?
If a solution is given I am happy to update the documentation to make it clear for future readers.
egc
2
apk is used on 25.12 and Master/Snapshot
opkg on 24.10 and earlier
To elaborate you have to compile on the version you want to use the package on
1 Like
Thanks, I was using the wrong sdk for some reason
openwrt-sdk-24.10.4-ath79-generic_gcc-13.3.0_musl.Linux-x86_64 (works)
openwrt-sdk-ath79-generic_gcc-14.3.0_musl.Linux-x86_64 (wrong one)
1 Like
system
Closed
4
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.