13

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 pkgs.alpinelinux.org/packages. 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!

valiano
  • 339
Viktor
  • 131

2 Answers2

10

For example for curl, try

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

Here is a mirror list of servers, where you can download from:
http://dl-cdn.alpinelinux.org/alpine/MIRRORS.txt

Packages can be downloaded from e.g.:
http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/

c72578
  • 161
  • 2
  • 5