OpenWrt Forum Archive

Topic: How to install .ipk file on router

The content of this topic has been archived on 18 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all. I wanted to tell that I have successfully compiled the package and now I have a helloworld.ipk file. Can anybody guide me how to install .ipk file on router ?

The simple way is to use WinSCP  http://winscp.net   program to copy your mypackage.ipk to router ( to /tmp) (just pull your file from one window to another
Then make via ssh consol (Putty):

 cd /tmp
ls  //you should see your *.ipk
opkg install /tmp/mypackage.ipk

That's all smile

(Last edited by rusink on 16 Feb 2013, 06:00)

Thanks for your reply . I tried this
root@OpenWrt:~# opkg install helloworld_1_ar71xx.ipk
Installing helloworld (1) to root...
Configuring helloworld.
root@OpenWrt:~#
root@OpenWrt:~#
root@OpenWrt:~# helloworld
/bin/helloworld: line 1: syntax error: unexpected "("


The program is running  on terminal as it just has to print a line, but in openwrt, it is giving me error sad Any suggestions ?

09bicsessarwar wrote:

Installing helloworld (1) to root...


helloworld
/bin/helloworld: line 1: syntax error: unexpected "("

The program is running  on terminal as it just has to print a line, but in openwrt, it is giving me error sad Any suggestions ?


Check your code once more and package name before compiling smile

(Last edited by rusink on 16 Feb 2013, 14:49)

The discussion might have continued from here.