Enable Community Repository: Difference between revisions
(sensible order also works) |
(move tip to central main apk reference page) |
||
Line 1: | Line 1: | ||
Starting with Alpine Linux version 3.3, there is a new repository called '''community'''. Many packages have been moved from the main repository to community to indicate that they are not guaranteed to be supported beyond six months. If you are using any of these packages, be sure to add the community repository. | Starting with Alpine Linux version 3.3, there is a new repository called '''community'''. Many packages have been moved from the main repository to community to indicate that they are not guaranteed to be supported beyond six months. If you are using any of these packages, be sure to add the community repository. | ||
Edit the {{Path|/etc/apk/repositories}} | Edit the file {{Path|/etc/apk/repositories}} using an editor ({{Pkg|nano}} for instance) and add (or uncomment) a line that points to the "community" directory like: | ||
'''http://dl-cdn.alpinelinux.org/alpine/edge/community''' | '''http://dl-cdn.alpinelinux.org/alpine/edge/community''' | ||
After | After enabling the community repository, obtain the latest index of available packages with: | ||
{{Cmd|apk update}} | {{Cmd|apk update}} | ||
= = | = = |
Revision as of 10:53, 9 May 2020
Starting with Alpine Linux version 3.3, there is a new repository called community. Many packages have been moved from the main repository to community to indicate that they are not guaranteed to be supported beyond six months. If you are using any of these packages, be sure to add the community repository.
Edit the file /etc/apk/repositories using an editor (nano for instance) and add (or uncomment) a line that points to the "community" directory like:
http://dl-cdn.alpinelinux.org/alpine/edge/community
After enabling the community repository, obtain the latest index of available packages with:
apk update