Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:additional-software:opkg-to-apk-cheatsheet [2024/11/27 20:40] – [Table] reformat ynezz | docs:guide-user:additional-software:opkg-to-apk-cheatsheet [2024/11/28 01:49] – Add another interesting variant efahlgren | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| | '' | | '' | ||
| - | Adding is substantially the same with both package managers. One difference is that {{apk}} wants you to provide valid signatures for all packages, while {{opkg}} ignores this on local ones, so if you're installing a non-standard (self-built) package, use the {{--allow-untrusted}} option: | + | Adding is substantially the same with both package managers. One difference is that [[: |
| < | < | ||
| Line 29: | Line 29: | ||
| </ | </ | ||
| - | Using our note above about {{--update-cache}}, we can now replace the traditional chained | + | Using our note above about '' |
| < | < | ||
| Line 41: | Line 41: | ||
| ==== List commands ==== | ==== List commands ==== | ||
| - | To reiterate, | + | To reiterate, |
| - | + | ||
| - | (editor' | + | |
| ^ apk ^ opkg ^ Description ^ | ^ apk ^ opkg ^ Description ^ | ||
| - | | {{apk list}} | {{opkg list}} | show everything available | | + | | '' |
| - | | {{apk list P}} | {{opkg list P}} | show matches for "P", or if you prefer regex then pipe through | + | | '' |
| - | | {{apk list --installed [P]}} | {{opkg list-installed}} | show all installed or those matching | + | | '' |
| - | | {{apk list --upgradeable [P]}} | {{opkg list-upgradable}} | show upgradeable packages | | + | | '' |
| - | | {{apk list --providers [P]}} | {{opkg -A whatprovides P}} | show all packages that provide | + | | '' |
| **Interesting variants** | **Interesting variants** | ||
| - | - `{{apk list --installed --orphaned}}` - shows any dependencies that have been orphaned, i.e., unused packages that may be safely | + | |
| + | * '' | ||
| + | * '' | ||
| **Comparative examples of listings:** | **Comparative examples of listings:** | ||
| Line 88: | Line 88: | ||
| ==== Package Info ==== | ==== Package Info ==== | ||
| - | ^ apk ^ opkg ^ Description ^ | + | ^ apk ^ opkg ^ Description |
| - | | {{apk info P}} | {{opkg info P}} | show summary information | | + | | '' |
| - | | {{apk info --all P}} | no equivalent | show extensive information | | + | | '' |
| - | | {{apk info --contents P}} | {{opkg files P}} | show files contained in the package | | + | | '' |
| + | |||
| + | ==== Other operations ==== | ||
| + | |||
| + | ^ apk ^ opkg ^ Description | ||
| + | | '' | ||