Difference between revisions of "Opkg"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: The opkg utility (an ipkg fork) is a lightweight package manager used to download and install OpenWrt packages from local package repositories or ones located in the Internet. GNU/Linux us...) |
Onnowpurbo (talk | contribs) |
||
Line 14: | Line 14: | ||
opkg install <pkgs|FQDN> | opkg install <pkgs|FQDN> | ||
opkg configure <pkgs> | opkg configure <pkgs> | ||
+ | opkg remove <pkgs> | ||
+ | opkg remove --force-depends <pkgs> | ||
+ | opkg remove --force-removal-of-dependent-packages <pkgs> | ||
opkg list [pkg|regexp] | opkg list [pkg|regexp] |
Latest revision as of 11:23, 12 February 2012
The opkg utility (an ipkg fork) is a lightweight package manager used to download and install OpenWrt packages from local package repositories or ones located in the Internet. GNU/Linux users already familiar with apt-get, aptitude, pacman, yum, etc. will recognize the similarities.
Opkg attempts to resolve dependencies with packages in the repositories - if this fails, it will report an error, and abort the installation of that package.
Missing dependencies with third-party packages are probably available from the source of the package. To ignore dependency errors, pass the –force-depends flag.
Beberapa Perintah Penting
opkg update opkg upgrade <pkgs> opkg install <pkgs|FQDN> opkg configure <pkgs> opkg remove <pkgs> opkg remove --force-depends <pkgs> opkg remove --force-removal-of-dependent-packages <pkgs>
opkg list [pkg|regexp] opkg list-installed opkg list-upgradable opkg list-changed-conffiles opkg search <file|regexp> opkg info [pkg|regexp]