From charlesreid1

No edit summary
No edit summary
Line 1: Line 1:
opkg is the package manager for OpenWrt
opkg is the package manager for OpenWrt
==ipk files==


To install software with opkg, it must be bundled in an ipk file
To install software with opkg, it must be bundled in an ipk file
Line 5: Line 7:
Info in this SO thread on how to create a package (e.g., a bundle of Python scripts): https://stackoverflow.com/questions/17369127/extracting-and-creating-ipk-files
Info in this SO thread on how to create a package (e.g., a bundle of Python scripts): https://stackoverflow.com/questions/17369127/extracting-and-creating-ipk-files


Can also do more complicated things, like PirateBox does: https://www.disk91.com/2012/technology/systems/installation-of-a-piratebox-on-t-link-mr3040/
==bundling==
 
opkg can also do more complicated things like bundling packages and source code and configurations together.
 
PirateBox is a good example of this: https://www.disk91.com/2012/technology/systems/installation-of-a-piratebox-on-t-link-mr3040/


In the end you'll execute commands to download your ipk and then install it with opkg, like this:
In the end you'll execute commands to download your ipk and then install it with opkg, like this:

Revision as of 18:20, 10 February 2018

opkg is the package manager for OpenWrt

ipk files

To install software with opkg, it must be bundled in an ipk file

Info in this SO thread on how to create a package (e.g., a bundle of Python scripts): https://stackoverflow.com/questions/17369127/extracting-and-creating-ipk-files

bundling

opkg can also do more complicated things like bundling packages and source code and configurations together.

PirateBox is a good example of this: https://www.disk91.com/2012/technology/systems/installation-of-a-piratebox-on-t-link-mr3040/

In the end you'll execute commands to download your ipk and then install it with opkg, like this:

wget http://piratebox.aod-rpg.de/piratebox_0.5.1_all.ipk
opkg update && opkg install piratebox*

Flags