mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 00:41:42 +00:00
34 lines
601 B
Plaintext
34 lines
601 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|