Occasionally it may be necessary to install a package manually on Gargoyle/OpenWrt firmwares due to bugs or incompatibilities preventing automatic installation. Here’s how to do it.

An .ipk file is just a regular tar/gz archive so we can extract the contents with tar. In this case I’m installing the Network UPS package on Gargoyle:

cd /tmp

This extracts three files:  ./debian-binary ./data.tar.gz ./control.tar.gz
data.tar.gz is the file we want. To install to the router simply extract the files to root:
cd /