1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:02:08 +02:00
tldr/pages/linux/opkg.md
Managor 360e969a6b
opkg: add examples (#15658)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
2025-02-04 01:33:40 +01:00

649 B

opkg

A lightweight package manager used to install OpenWrt packages. More information: https://openwrt.org/docs/guide-user/additional-software/opkg.

  • Install a package:

opkg install {{package}}

  • Remove a package:

opkg remove {{package}}

  • Update the list of available packages:

opkg update

  • Upgrade one or more specific package(s):

opkg upgrade {{package(s)}}

  • Display information for a specific package:

opkg info {{package}}

  • List all the available packages:

opkg list

  • Find out which package owns a file:

opkg search {{/path/to/file}}

  • List all files belonging to a package:

opkg files {{package}}