Using the package manager
The Alpine Package Keeper (APK) is the package manager originally created for the Alpine Linux distribution. It has been ported to QNX to be used as a package manager for the QNX Developer Desktop self-hosted environment.
The common apk commands include:
| To: | Run: |
|---|---|
| Update the package database to sync with the configured repositories | sudo apk update |
| View a list of available packages on the repositories | sudo apk list --available |
| View a list of installed packages | sudo apk list --installed |
| Add packages | sudo apk add [PACKAGE] |
| Remove packages | sudo apk del [PACKAGE] |
| Fix installed packages to repair any APK issues or update the installed packages if you manually alter /etc/apk/world | sudo apk fix |
For more information on APK, refer to the Alpine documentation:
- https://docs.alpinelinux.org/user-handbook/0.1a/Working/apk.html
- https://wiki.alpinelinux.org/wiki/Alpine_Package_Keeper
Find open-source APK packages in QNX's open-source dashboard: https://oss.qnx.com/?search=apk
Page updated:
