Difference between revisions of "Edge:Upgrading to Edge"

From Alpine Linux
Jump to: navigation, search
(Created page with "== Upgrading to Edge == An upgrade of Alpine Linux from a stable version to the rolling development version, ''edge'' can be done in a few simple steps. # Add the edge reposito...")
 
Line 12: Line 12:
 
cat /etc/alpine-release | cut -c 0-3 | sed -i -e 's/v{}/edge/g' /etc/apk/repositories
 
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]]

Revision as of 10:53, 4 May 2012

Upgrading to Edge

An upgrade of Alpine Linux from a stable version to the rolling development version, edge can be done in a few simple steps.

  1. Add the edge repository to /etc/apk/repositories:

    echo http://dl-3.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories

    or just edit the file in-place (replace v2.4 with your release):

    sed -i -e 's/v2.4/edge/g' /etc/apk/repositories

  2. Upgrade all packages in one shot:

    apk upgrade -a -U

  3. Check your current release:

    cat /etc/alpine-release

    You will see the build date attached to the release.