Linux – way to download individual .apk packages from Alpine repos


I need to install a couple of packages on a device that does not have internet access.

The idea was to download packages, transfer them to the device and then install using apk add --allow-untrusted <name>. Perhaps it was too logical because I cannot figure out how to download these apks from sites such as I can see what's in the package, but that's about it. Does anyone know why?

Also, if anyone knows a place I can download them from, please, tell me… Thanks!

Best Answer

For example for curl, try

apk update
apk fetch curl
apk add ./curl-7.61.1-r1.apk