I can't install curl on my MR-3020 because there is not enough space. This is a problewm for all devices with small boards
Even when I remove all the non essential packages, it does not have space for the dependent packages. Common solution is to use an external USB drive but that's not an option for me because I use the USB drive for a modem.
After much struggle I found a solution here that I thought I would share with the community:
Edit /etc/rc.local
with:
opkg update
opkg install curl -d ram
rm /tmp/opkg-lists/*
So that it would just install it to ram on reboot so it would be available. You may need to edit your exports so it can find it in the ram destination.
export LD_LIBRARY_PATH='/lib:/usr/lib:/tmp/lib:/tmp/usr/lib'
export PATH='/bin:/sbin:/usr/bin:/usr/sbin:/tmp/usr/bin:/tmp/usr/sbin'
This way I am able to use it as if it were installed locally and not just re-installed on reboot.