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/
Related videos on Youtube
Author by
Viktor
Updated on September 18, 2022Comments
-
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 aspkgs.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!
-
Biswapriyo almost 6 yearsLink: dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64. Replace
x86_64
with your PC's cpu architecture.
-