Ipkg (tutorial)
From DD-WRT Wiki
Revision as of 17:14, 17 May 2005 (edit) Sveasoft (Talk | contribs) m (→Finding Packages) ← Previous diff |
Revision as of 18:09, 17 May 2005 (edit) (undo) Sveasoft (Talk | contribs) m (→Sub Commands) Next diff → |
||
Line 27: | Line 27: | ||
====Sub Commands==== | ====Sub Commands==== | ||
<pre> | <pre> | ||
- | update Update list of available packages from | + | update Update list of available packages from <src> defined in /etc/ipkg.conf |
upgrade Upgrade all installed packages to latest version | upgrade Upgrade all installed packages to latest version | ||
install <pkg> Download and install <pkg> (and dependencies) | install <pkg> Download and install <pkg> (and dependencies) |
Revision as of 18:09, 17 May 2005
You are here: Main Page/DD-WRT Doku (EN)/ipkg
Contents |
Introduction
Brainslayer is hard at working merging the code base of DD-WRT with the OpenWRT firmware. This means that, for the most part, OpenWRT's package managment system, ipkg, is available for DD-WRT. This allows for an easy way to add features not already in the DD-WRT firmware. Since ipkg is a command line program, you will need to either Telnet or SSH into your router to run this utility.
Commandline Structure
Usage
usage: ipkg [options...] sub-command [arguments...]
Options
-d <dest_name> or Install, upgrade, or remove package from <dest_name> -dest <dest_name> where <dest_name> is '''either''' a folder path '''or''' a pre-defined path in /etc/ipkg.conf by default, ipkg on DD-WRT supports these pre-defined names: root /jffs ram /tmp -o <offline_root> Use <offline_root> as the root for offline installation. -offline <offline_root> where <offline_root> is a path -force-depends Make dependency checks warnings instead of errors -force-defaults Use default options for questions asked by ipkg. (no prompts). Note that this will not prevent package installation scripts from prompting.
Sub Commands
update Update list of available packages from <src> defined in /etc/ipkg.conf upgrade Upgrade all installed packages to latest version install <pkg> Download and install <pkg> (and dependencies) remove <pkg> Remove package <pkg> list List available packages and descriptions files <pkg> List all files belonging to <pkg> search <file> Search for a packaging providing <file> info [pkg [<field>]] Display all/some info fields for <pkg> or all status [pkg [<field>]] Display all/some status fields for <pkg> or all depends <pkg> Print uninstalled package dependencies for <pkg> - <pkg> may be a package name, or a URI to the *.ipk or *.deb file - arguments displayed in [ ] are optional
Finding Packages
OpenWRT.org hosts a list of Official Packages, as well as a Package Tracker listing all known packages. Packages from the tracker will usually have to be installed by using <pkg> as a URI rather than a package name, unless you've updated your /etc/ipkg.conf file to point to a different repository.
You are here: Main Page/DD-WRT Doku (EN)/ipkg