-
Notifications
You must be signed in to change notification settings - Fork 51
IPKG OPKG Open Package Manager
Anthon Pang edited this page Jan 25, 2018
·
1 revision
Optware-ng uses OPKG Open Package Manager's command line utility to install, upgrade and uninstall opkg software packages. Optware aliases opkg-cl to ipkg for backwards compatibility.
-
updateUpdate list of available packages -
upgradeUpgrade installed packages -
install <package(s)>Install package(s) -
configure <package(s)>Configure unpacked package(s) -
remove <packages|glob>Remove package(s). glob works like a shell globbing pattern and could be something like ’pkgname*’, ’*file*’, or similar -
flag <flag> <packages>Flag package(s). Available flags (one per invocation):holdnopruneuserokinstalledunpacked
-
listList available packages -
list‐installedList installed packages -
list‐upgradableList installed and upgradable packages -
list‐changed‐conffilesList package configuration files which have been modified after installation -
files <package>List files belonging to package -
search <file|glob>List package providing file -
info [package|glob]Display all info for selected packages -
status [package|glob]Display all statuses for selected packages -
download <package>Download package to current directory -
compare‐version <version1> <operator> <version2>compare versions using following operators:-
<<less than -
<less than or equal to -
<=less than or equal to -
=equal to -
>=greater than or equal to -
>greater than or equal to -
>>greater than
-
-
print‐architectureList installable package architectures whatdepends [−A] <package(s)|glob>whatdependsrec [−A] <package(s)|glob>whatprovides [−A] <package(s)|glob>whatconflicts [−A] <package(s)|glob>whatreplaces [−A] <package(s)|glob>
-
−AQuery all packages not just those installed -
−v <level>,‐‐verbosity <level>Set verbosity level to level. Verbosity levels:- 0 errors only
- 1 normal messages (default)
- 2 informative messages
- 3 debug
- 4 debug level 2
-
−f <conf_file>,−‐conf <conf_file>Use conf_file as the opkg configuration file -
−‐cache <directory>Use a package cache -
−d <dest_name>,−‐dest <dest_name>Use dest_name as the the root directory for package installation, removal, upgrading. dest_name should be a defined dest name from the configuration file, (but can also be a directory name in a pinch). -
−o <directory>,−‐offline‐root <directory>Use directory as the root directory for offline installation of packages. -
−‐add‐dest <name>:<path>Register path as installation target name for use in conjunction with−‐dest -
−‐add‐arch <arch>:<prio>Register the package architecture arch with the numeric priority prio. Lower priorities take precedence. -
−‐force‐dependsInstall/remove despite failed dependencies -
−‐force‐maintainerOverwrite preexisting config files -
−‐force‐reinstallReinstall package(s) -
−‐force‐overwriteOverwrite files from other package(s) -
−‐force‐downgradeAllowipkgto downgrade packages -
−‐force‐spaceDisable free space checks -
−‐force‐postinstallExecute package postinstall scripts in offline installation mode -
−‐noactionNo action − test only -
−‐download‐onlyNo action − download only -
−‐nodepsDo not follow dependencies -
−‐force‐removal‐of‐dependent‐packagesRemove package and all dependencies -
−‐autoremoveRemove packages that were installed automatically to satisfy dependencies -
−t <directory>,−‐tmp‐dir <directory>Specify directory as temporary directory
Copyright © Opkg development team.
References: