Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:46] – [List commands] reformat ynezzdocs:guide-user:additional-software:opkg-to-apk-cheatsheet [2024/11/28 01:49] – Add another interesting variant efahlgren
Line 53: Line 53:
  
   * ''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:**
Line 87: Line 88:
 ==== Package Info ==== ==== Package Info ====
  
-^ apk ^ opkg ^ Description ^ +^ apk                                  ^ opkg              ^ Description                          
-{{apk info P}} {{opkg info P}} | show summary information | +''apk info P''                       ''opkg info P''   | show summary information             
-{{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      |
  • Last modified: 2024/12/21 16:25
  • by efahlgren