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:55] – apk extract ynezz | docs:guide-user:additional-software:opkg-to-apk-cheatsheet [2024/11/28 01:49] – Add another interesting variant efahlgren |
|---|
| |
| * ''apk list --installed --orphaned'' - shows any dependencies that have been orphaned, i.e., unused packages that may be safely ''del''eted | * ''apk list --installed --orphaned'' - shows any dependencies that have been orphaned, i.e., unused packages that may be safely ''del''eted |
| | * ''apk list --installed --manifest'' - produces a simple list of "package-name version" pairs that are easily parsed with ''awk'' or ''sed'' |
| |
| **Comparative examples of listings:** | **Comparative examples of listings:** |
| | ''apk info --all P'' | no equivalent | show extensive information | | | ''apk info --all P'' | no equivalent | show extensive information | |
| | ''apk info --contents P'' | ''opkg files P'' | show files contained in the package | | | ''apk info --contents P'' | ''opkg files P'' | show files contained in the package | |
| | |
| | ==== Other operations ==== |
| | |
| | ^ apk ^ opkg ^ Description ^ |
| | ''apk extract --allow-untrusted P'' | ''tar -xvf P'' | extract contents of the package | | | ''apk extract --allow-untrusted P'' | ''tar -xvf P'' | extract contents of the package | |