Skip to content
mozzwald edited this page Feb 2, 2017 · 2 revisions

opkg is the package manager used for openwrt and openwrt-zipit. The repository (repo) is hosted here by mozzwald.com.

Configuration

By default, the opkg is configured to use the mozzwald.com repo and the configuration is saved in /etc/opkg/. No configuration should be needed unless you want to use your own repo.

Updating the Package List

The opkg repo listing is stored in a temporary directory and as such is missing after every reboot. You must update the package list before using opkg with the opkg update command (network connection required).

Installing a Package

You can install a package with the opkg install <packagename> command. Package name must contain the exact name of the package to install.

Searching for New Packages to Install

You can search the package repo for new packages to install and use * as a wildcard:

root@zipitz2:~/# opkg list gmenu2x*
gmenu2x - 313284bc1a6644601f1cb972ee534d9b44f29aac-3 - GMenu2x frontend/launcher app
gmenu2x-alsamixer - 1-1 - Alsamixer launcher for gmenu2x
gmenu2x-burgerspace - 1-1 - Burgerspace launcher for gmenu2x
gmenu2x-freedoom1 - 1-1 - FreeDoom1 launcher for gmenu2x
gmenu2x-freedoom2 - 1-1 - FreeDoom2 launcher for gmenu2x
gmenu2x-gmu - 1-1 - GMU launcher for gmenu2x
gmenu2x-imgv - 1-1 - imgv launcher for gmenu2x
gmenu2x-kiwix - 1-1 - kiwix launcher for gmenu2x
gmenu2x-links - 1-1 - links launcher for gmenu2x
gmenu2x-mpg123 - 1-1 - mpg123 launcher for gmenu2x
gmenu2x-mplayer - 1-1 - mplayer launcher for gmenu2x
gmenu2x-mutt - 1-1 - mutt launcher for gmenu2x
gmenu2x-nano - 1-1 - Nano launcher for gmenu2x
gmenu2x-navit - 1-1 - navit launcher for gmenu2x
gmenu2x-nethack - 1-1 - nethack launcher for gmenu2x
gmenu2x-netsurf - 1-1 - Netsurf launcher for gmenu2x
gmenu2x-newsbeuter - 1-1 - newsbeuter/podbeuter launcher for gmenu2x
gmenu2x-nupdf - 1-1 - nupdf launcher for gmenu2x
gmenu2x-ohboy - 1-1 - ohboy launcher for gmenu2x
gmenu2x-pspmaps - 1-1 - pspmaps launcher for gmenu2x
gmenu2x-rockbox - 1-1 - rockbox launcher for gmenu2x
gmenu2x-sdlquake - 1-1 - sdlquake launcher for gmenu2x
gmenu2x-supertux - 1-1 - Supertux launcher for gmenu2x
gmenu2x-tmux - 1-1 - tmux launcher for gmenu2x
gmenu2x-wolf3d - 1-1 - wolf3d launcher for gmenu2x

Searching Currently Installed Packages

You can search for packages already installed:

root@zipitz2:~/# opkg list-installed gmenu2x*
gmenu2x - 313284bc1a6644601f1cb972ee534d9b44f29aac-3
gmenu2x-alsamixer - 1-1
gmenu2x-links - 1-1
gmenu2x-nano - 1-1
gmenu2x-tmux - 1-1