Opkg

From OnnoWiki
Revision as of 11:23, 12 February 2012 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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]

Referensi

Pranala Menarik