Skip to content
Contents
GuidesOpenWrt

Can OpenWrt install aria2 with only 2 MB free?

Check which libraries are missing. In our OpenWrt 25.12.6 x86/64 VM, aria2 alone listed 1374 KiB. All six proposed additions came to about 9.6 MiB. With just 2 MiB writable, skip this combination. Your router may already have some libraries.

Check which libraries are missing. In our OpenWrt 25.12.6 x86/64 VM, aria2 alone listed 1374 KiB. All six proposed additions came to about 9.6 MiB. With just 2 MiB writable, skip this combination. Your router may already have some libraries.

Check the destination and simulate the install

Read Available over SSH. Check /overlay separately if used. Free space in /tmp or on a download disk usually does not count. Use the command for your firmware below with a working index for that release.

df -k / /tmp
[ ! -d /overlay ] || df -k /overlay
command -v apk
command -v opkg

apk

apk add --simulate aria2
apk info -s aria2

opkg

opkg --noaction install aria2
opkg info aria2

Which packages count toward the total?

Count only proposed additions. Run apk info -s or opkg info with the actual package names. Match versions, installed sizes and units. Count shared dependencies once. Stop on index errors. Compressed download sizes do not measure installed space.

OpenWrt 25.12.6 · apk add --simulate aria2

apk info -s · aria2 · libstdcpp6 · libopenssl3

The screens show the proposed transaction and sizes. We used official indexes offline via a lab file called /tmp/repos. Installing is simulated. The 28.9 MiB total includes existing packages. The 9.6 MiB estimate comes from metadata. No installation or flash usage measurement was performed.

1374 + 1880 + 14 + 112 + 6471 = 9851 KiB (+ 1 B) ≈ 9.6 MiB

What if it barely fits?

Leave room for configuration, the package database and logs. Omit optional interfaces and recalculate or use another host. Changing dir only moves downloads. If you proceed after backing up, check aria2c -v, download a small file to the intended disk and recheck the same filesystem. On failure pause jobs, remove only new packages unused elsewhere and restore the configuration.

Verify your storage will mount at boot before enabling OpenWrt Extroot

Explore hardware

Comments