Configurer les sources des paquets

  1. OpenWrt propose un dépôt logiciel, contenant actuellement (2015-sept) la liste suivante pour Chaos Calmer, 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.

Les paquets officiels d'OpenWRT se trouvent dans le dossier “packages” de votre version d'OpenWRT installée ici :

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
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.

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

see old

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.

see old

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

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

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2021/10/15 08:35
  • by bobafetthotmail