|
|
Line 1: |
Line 1: |
− | An upgrade of a running Alpine Linux from a previous version to the latest stable version can be done in a few simple steps.
| + | #REDIRECT [[Include:Upgrading to latest release]] |
− | | |
− | Update the ''/etc/apk/repositories'' file
| |
− | :* Launch {{Cmd|setup-apkrepos}}
| |
− | :* Press 'e' to edit your ''/etc/apk/repositories'' file
| |
− | :* Change the version number to match the latest version by hand | |
− | : or
| |
− | :* Add the latest release repository to ''/etc/apk/repositories'': {{Cmd|echo http://dl-3.alpinelinux.org/alpine/<var>v2.4</var>/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.3</var>/<var>v2.4</var>/g' /etc/apk/repositories}}
| |
− | | |
− | Upgrade all packages in one shot: {{Cmd|apk upgrade -a -U}}
| |
− | | |
− | [[Category:Package Manager]]
| |
− | [[Category:Installation]]
| |