Enable Community Repository: Difference between revisions
(move tip to central main apk reference page) |
mNo edit summary |
||
Line 1: | Line 1: | ||
''' | The '''community''' repository for an Alpine release contains community supported packages that were accepted from the testing repository. | ||
However, they are not guaranteed to be supported beyond six months. | |||
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, as in: | |||
'''https://<mirror>/alpine/<version>/community''' | |||
After enabling the community repository, obtain the latest index of available packages with: | After enabling the community repository, obtain the latest index of available packages with: | ||
{{Cmd|apk update}} | {{Cmd|apk update}} | ||
----- | |||
* [https://superuser.com/questions/1055060/how-to-install-a-specific-package-version-in-alpine How to install a specific package version in Alpine?] | * [https://superuser.com/questions/1055060/how-to-install-a-specific-package-version-in-alpine How to install a specific package version in Alpine?] | ||
The '''community''' repository was introduced with Alpine Linux version 3.3, and required to enable it to continue to use some former '''main''' packages. | |||
[[Category:Package Manager]] | [[Category:Package Manager]] |
Revision as of 11:15, 12 May 2020
The community repository for an Alpine release contains community supported packages that were accepted from the testing repository.
However, they are not guaranteed to be supported beyond six months.
Edit the file /etc/apk/repositories using an editor (nano for instance) and add (or uncomment) a line that points to the "community" directory, as in:
https://<mirror>/alpine/<version>/community
After enabling the community repository, obtain the latest index of available packages with:
apk update
The community repository was introduced with Alpine Linux version 3.3, and required to enable it to continue to use some former main packages.