Difference between revisions of "Enable Community Repository"

From Alpine Linux
Jump to: navigation, search
m
m
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
  
The '''community''' repository for an Alpine release contains community supported packages that were accepted from the testing repository.
+
The '''/community''' repository of each Alpine release contains community supported packages that were accepted from the testing repository.
However, they are not guaranteed to be supported beyond six months.
+
However, they are not 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:
+
To enable the repository, 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, formatted as in:
  
'''https://<mirror>/alpine/<version>/community'''
+
'''https://<mirror-server>/alpine/<version>/community'''
  
After enabling the community repository, obtain the latest index of available packages with:
+
After enabling the community repository, one needs to obtain the latest index of available packages with:
 
{{Cmd|apk update}}
 
{{Cmd|apk update}}
  

Revision as of 17:26, 12 May 2020


The /community repository of each Alpine release contains community supported packages that were accepted from the testing repository. However, they are not supported beyond six months.

To enable the 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, formatted as in:

https://<mirror-server>/alpine/<version>/community

After enabling the community repository, one needs to 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.