Skip to content

Instantly share code, notes, and snippets.

@klaud81
Forked from andypiper/ish-apks.txt
Created September 15, 2021 09:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klaud81/1ba4213a889e876a6e0ca3baac41014e to your computer and use it in GitHub Desktop.
Save klaud81/1ba4213a889e876a6e0ca3baac41014e to your computer and use it in GitHub Desktop.
Setup iSH / Alpine Linux on iPad
# edit the login message
vi /etc/motd
# switch to usable repos - iSH defaults often failed with EOF errors
echo https://dl-cdn.alpinelinux.org/alpine/v3.13/main > /etc/apk/repositories
echo https://dl-cdn.alpinelinux.org/alpine/v3.13/community >> /etc/apk/repositories
# install some basics
apk add zsh bash
apk add sed attr dialog dialog-doc bash bash-doc bash-completion grep grep-doc
apk add util-linux util-linux-doc pciutils usbutils binutils findutils readline
apk add lsof lsof-doc less less-doc nano nano-doc curl curl-doc
# add utilities
apk add git bat jq mosquitto-clients
# install Ruby (NB ruby-json req'd for some gems)
apk add ruby ruby-dev build-base ruby-json
# refresh
apk upgrade
# install and setup twurl
gem install twurl
# (copy in a usable .twurlrc)
twurl -j "/1.1/users/show.json?screen_name=andypiper" | jq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment