Install curl on OpenWrt TP-Link TL-WR740N

Hello, how i can install curl on openwrt TP-Link TL-WR740N?

i have tryed:
root@OpenWrt:~# opkg install curl
Unknown package 'curl'.
Collected errors:

  • opkg_install_cmd: Cannot install package curl.

i also have found: but i do not see any packages to install...

how i can install curl?

Maybe you forgot to

opkg update



opkg update

i see this answer (i do not need upgrade all packages, i just need install curl):

Installing curl (7.60.0-4) to root...
Installing libmbedtls (2.16.6-1) to root...
Collected errors:
 * verify_pkg_installable: Only have 84kb available on filesystem /overlay, pkg libmbedtls needs 166
 * opkg_install_cmd: Cannot install package curl.

what could i remove frome instaled packages to get place?

etc... i need jusr router wifi and curl

You have a 4/32 MB device. See the following links for further information and what you can do now.

Removing packages that are part of the OpenWrt image does not save you any space.
Only removing packages that have been installed after flashing the images will actually gain some space.

You would be better of building your own image with curl included (if it will fit in the first place). See above how to build an image for 4MB devices.

You would be even better off buying a device with sufficient space for current OpenWrt.

1 Like

You did not really say what you are trying to accomplish with curl but an alternative is to download the file to your computer and use scp to put the file on the router.

See openwrt upgrade procedure