User Tools

Site Tools


Where to get packages

  1. OpenWrt offers a Software repository, which currently (2011-Feb) contains about 2000 packages. No, this is no typo.
  2. Other projects can offer additional repositories.
  3. Installation and removal of packages is done with: opkg.

Official packages

The official OpenWrt packages are found in the respective packages folder on the repository server.

The specific repository for your OpenWrt version should already be configured correctly in OPKG when installing the specific OpenWrt image for your device.

Example of /etc/opkg.conf for ar71xx trunk:

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz chaos_calmer_base
src/gz chaos_calmer_packages
src/gz chaos_calmer_luci
src/gz chaos_calmer_routing
src/gz chaos_calmer_telephony
src/gz chaos_calmer_management

Each package feed is in a separate directory

  • packages
  • telephony
  • routing
  • management
  • oldpackages

Other feeds are available but have no package repository. Examples: alljoyn, luci2

Packages can be divided into three categories:

  • containing shell scripts only - architecture-independent
  • normal packages (binaries) - architecture-dependent
  • kernel packages (kmod-*) - kernel version specific

:!: Trunk: Installing kernel modules requires often a reflash/sysupgrade because the build revision changed (it gets recompiled every few days automatically).

Each release has its own directory containing sub-directories for the different platforms supported, each platform-directory contains pre-built images for the different targets and a packages directory containing the installable *.ipk files.

Here are some examples of OpenWrt package repositories for different compilation targets and OpenWrt versions.

Install packages / Usage of OPKG

Command Description
opkg Print a list of all available commands and options
opkg update Download the current list of packages available
opkg list View the list of all packages in the current package list. Use with regular expressions
opkg list_installed View the list of installed packages
opkg install umurmur Install the package named umurmur, can also use a FQDN instead, e.g.
opkg install
opkg remove umurmur Remove the umurmur package

→ Read more about: opkg – Technical Reference

Legacy packages

Package Sources

Stable Version: Source tar-balls for most packages can be found at and

Trunk: Found at the PKG_SOURCE_URL from the package Makefile in the corresponding feed.

Third party packages

Creating custom packages

Howto Create a Package to create custom packages for OpenWrt using the toolchain (Buildroot)
crosscompile to simply sample a program

External storage

opkg – Technical Reference: Installation Destinations
Mounting Filesystems for various ways to mount external storage

doc/packages.txt · Last modified: 2015/09/30 23:11 by sudoman