Now that we have Opkg for Android, we could use it to install packages from local files or off Web servers. Installing a package is as simple as
opkg install path/to/package.opk
or, if it’s on the Web
opkg install http://host/path/to/package.opk
And to remove the package, we would go
opkg remove name-of-package
But what if we wanted to share our own software with others? In this case, we would create our own packages. An Opkg package is essentially a Debian package with fewer control fields. If you know how to make a Debian package, you should be well on your way. In general, a package is an ar archive containing a control tarball, a data tarball, and a debian-binary file. For example let’s have a look at the opkg-hello package:
