|
|
Line 1: |
Line 1: |
| An upgrade of Alpine Linux from a stable version to the rolling development version, ''edge'' can be done in a few simple steps.
| | #REDIRECT [[Include:Upgrading to Edge]] |
| | |
| # Add the edge repository to ''/etc/apk/repositories'': {{Cmd|echo http://dl-3.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories}} or just edit the file in-place (replace <var>v2.4</var> with your release): {{Cmd|sed -i -e 's/<var>v2.4</var>/edge/g' /etc/apk/repositories}} | |
| # Upgrade all packages in one shot: {{Cmd|apk upgrade -a -U}}
| |
| # Check your current release: {{Cmd|cat /etc/alpine-release}} You will see the build date attached to the release.
| |
| | |
| <!--
| |
| cat /etc/alpine-release | cut -c 0-3
| |
| This is not working at the moment
| |
| cat /etc/alpine-release | cut -c 0-3 | sed -i -e 's/v{}/edge/g' /etc/apk/repositories
| |
| -->
| |
| | |
| [[Category:Package Manager]] | |
| [[Category:Installation]]
| |
| [[Category:Development]]
| |