Guide to migrate Debian's apt package management commands to Alpine's apk commands.
The following table contains the mapping from apt commands to apk commands.
Action | apt command | apk command |
---|---|---|
Update package database | apt-get update | apk update |
Install packages | apt-get install package1 package2 | apk add package1 package2 |
Related articles