Alpine Repo Mirrors Usage Guide

Select Mirror

Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox.

Alpine Linux is a security-oriented, lightweight Linux distribution based on the musl libc and busybox projects.

Enter the following commands in the terminal to replace the mirror source:

sed -i 's#https\?://dl-cdn.alpinelinux.org/alpine#https://(Loading...)#g' /etc/apk/repositories

Alternatively, you can directly edit the /etc/apk/repositories file. The following is a reference configuration for version 3.5:

https://(Loading...)/v3.5/main
https://(Loading...)/v3.5/community

You can also use latest-stable to point to the latest stable version:

https://(Loading...)/latest-stable/main
https://(Loading...)/latest-stable/community

After modifying the /etc/apk/repositories file, please run apk update to refresh the index and apply the changes.

Is there an issue? Report via GitHub Issue

Would you like to contribute? Contribution Guide.Source code on GitHub.

All content is provided under the terms of the CC BY-NC-SA 4.0 license, additional terms may also apply.