====== Alpine Linux ======
[[https://wiki.alpinelinux.org/wiki/Alpine_Package_Keeper|Alpine Package Keeper]]
===== Useful commands =====
* [[https://linuxiac.com/alpine-apk-command-guide/]]
* [[https://www.cyberciti.biz/faq/10-alpine-linux-apk-command-examples/|https://www.cyberciti.biz/faq/10-alpine-linux-apk-command-examples/]]
* [[https://www.tecmint.com/apk-command-examples/]]
==== 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 ====
apk info | xargs sudo apk fix
Source: [[https://unix.stackexchange.com/questions/619478/how-do-i-reinstall-all-installed-packages-in-alpine-linux]]
===== Alpine Tor Wifi AP =====
* [[https://learn.adafruit.com/onion-pi]]
* [[https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point]]
* [[https://wiki.alpinelinux.org/wiki/Raspberry_Pi]]
* [[https://wiki.alpinelinux.org/wiki/Upgrading_Alpine#Upgrading_Alpine_Linux_on_other_removable_media_(such_as_CF/USB)]]
* [[https://wiki.alpinelinux.org/wiki/Configure_Networking#IPv4_Static_Address_Configuration]]