Is there a way to download individual .apk packages from Alpine repos?

8,830

Solution 1

For example for curl, try

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

Solution 2

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/

Share:
8,830

Related videos on Youtube

Viktor
Author by

Viktor

Updated on September 18, 2022

Comments

  • Viktor
    Viktor almost 2 years

    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!