HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

opkg — A lightweight package manager used to install OpenWrt packages. More information: <https://openwrt.o

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandopkglightweightinstallusedclipackagemanager
linux

Problem

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

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/opkg

Revisions (0)

No revisions yet.