root@OpenWrt:/xutest# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 4.6M 416.0K 4.2M 9% /
/dev/root 2.5M 2.5M 0 100% /rom
tmpfs 14.4M 128.0K 14.3M 1% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock3 4.6M 416.0K 4.2M 9% /overlay
overlayfs:/overlay 4.6M 416.0K 4.2M 9% /
root@OpenWrt:/xutest# opkg update
Downloading
Inflating
Updated list of available packages in /var/opkg-lists/snapshots.
root@OpenWrt:/xutest# opkg install curl
Installing curl (7.23.1-1) to root…
Downloading http://192.168.2.224/packages-r31296/curl_7.23.1-1_ar71xx.ipk.
Installing libcurl (7.23.1-1) to root…
Downloading http://192.168.2.224/packages-r31296/libcurl_7.23.1-1_ar71xx.ipk.
Installing libopenssl (1.0.1-1) to root…
Downloading
Installing zlib (1.2.5-1) to root…
Downloading
Configuring zlib.
Configuring libopenssl.
Configuring libcurl.
Configuring curl.
root@OpenWrt:/xutest# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 4.6M 1.3M 3.3M 28% /
/dev/root 2.5M 2.5M 0 100% /rom
tmpfs 14.4M 1.7M 12.7M 12% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock3 4.6M 1.3M 3.3M 28% /overlay
overlayfs:/overlay 4.6M 1.3M 3.3M 28% /
xxg@EmbeddedLab:~/windows/openwrt$ curl –help
Usage: curl [options…]
原文链接:http://blog.chinaunix.net/uid-27194309-id-3848723.html