wiki.xw3.org

Welcome to the xw3 Wiki! Powered by hanez

User Tools

Site Tools


linux:alpine_linux

Alpine Linux

Useful commands

Upgrading Alpine

At times it is required to first upgrade just the Alpine Linux Package Manager itself to the latest available version, before upgrading any other package. This was the case, for example, when upgrading from a version of Alpine before 2.3.0_rc1. But simply always doing so shouldn't hurt, either:

apk add --upgrade apk-tools

Next, to upgrade all installed packages:

apk upgrade --available

Source: https://wiki.alpinelinux.org/wiki/Upgrading_Alpine

Update package resposories

apk update

Show available package updates

apk upgrade -s

Upgrade all available package updates

apk upgrade

Show files of a package

apk info -qL PACKAGE

Or:

apk info -L PACKAGE

Show which package owns a file

apk info -qW FILE

Or:

apk info -W FILE

Reinstall all packages

Alpine Tor Wifi AP

linux/alpine_linux.txt · Last modified: 2025-03-18 (external edit)