Table of Contents

Configurer les sources des paquets

  1. OpenWrt propose un dépôt logiciel, contenant actuellement (2015-sept) la liste suivante pour Chaos Calmer http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/, soit plus de 2000 paquets !
  2. D'autres projets de dépôts additionnels existent.
  3. Pour installer/désinstaller des paquet, veuillez vous reporter à la documentation dédiée : opkg.

Paquets officiels

Les paquets officiels d'OpenWRT se trouvent dans le dossier “packages” de votre version d'OpenWRT installée ici : http://downloads.openwrt.org/

Veillez à bien choisir les dépôts qui correspondent à la version installée sur votre matériel !

Exemple de fichier /etc/opkg.conf pour la dernière version stable (de la branche “ar71xx”) Chaos Calmer 15.05 :

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz chaos_calmer_base http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base
src/gz chaos_calmer_packages http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages
src/gz chaos_calmer_luci http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/luci
src/gz chaos_calmer_routing http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/routing
src/gz chaos_calmer_telephony http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/telephony
src/gz chaos_calmer_management http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/management

Each package feed is in a separate directory

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

Packages can be divided into three categories:

:!: 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 http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/umurmur-polarssl_0.2.6-1_ar71xx.ipk
opkg remove umurmur Remove the umurmur package

→ Read more about: opkg – Technical Reference

Legacy packages

see old

Package Sources

Stable Version: Source tar-balls for most packages can be found at http://downloads.openwrt.org/sources/ and http://mirror2.openwrt.org/sources/.

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

Third party packages

see old

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