#!/bin/sh #run from script and/or command line

wget https://dl-cdn.alpinelinux.org/alpine/v3.17/releases/x8664/alpine-extended-3.17.0-x8664.iso

#insert USB, then run (use 'fdisk -l' to determine proper drive (sda, sdb, etc.):

dd if=alpine-extended-3.17.0-x8664.iso of=/dev/sdb

#reboot, press Esc and/or Delete to enter BIOS, then use the Boot menu and change settings to Boot from USB

#after Alpine Linux starts, sign in and run:


apk add nano

nano /etc/apk/repositories

#uncomment the community repo (second in list), then press Ctrl-X, y, then Enter to save changes