Edge: Difference between revisions

From Alpine Linux
(Merge in "Upgrading to Edge")
m (2.4)
Line 11: Line 11:
An upgrade of Alpine Linux from a stable version to the rolling development version, ''edge'' can be done in a few simple steps.
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 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.3</var> with your release): {{Cmd|sed -i -e 's/<var>v2.3</var>/edge/g' /etc/apk/repositories}}
# 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}}
# 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.
# Check your current release: {{Cmd|cat /etc/alpine-release}} You will see the build date attached to the release.

Revision as of 10:05, 4 May 2012

"edge" is the name given to the current development tree of Alpine Linux. It consists of a APK repository called "edge" and contains the latest build of all available Alpine Linux packages. Those packages are updated on a regular basis.

Warning: "edge" is under constant development so be careful using it in production. It is possible that bugs in "edge" could cause data loss or could break your system.


End users should not use "edge" as their main day-to-day workstation or as productive system. Because "edge" is a development branch, many changes are not heavily tested (or tested at all) and packages in "edge" can and sometimes do break without warning.

However, testing "edge" is a very valuable activity which helps the Alpine Linux development to ensure that the quality of the stable releases is high. Testing "edge" is a great way to contribute to the Alpine Linux development.

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.


See also