Skip to content

Using Alpine Linux repositories

Ross Smith II edited this page Sep 8, 2021 · 43 revisions

Using Alpine Linux repositories

The packages in Alpine Linux repositories are more updated than iSH's own repositories and have packages whose size > 512 MB as well. To use it to replace iSH's own repositories, run:

sed -E -e 's/^(.*)$/#\1/' /etc/apk/repositories
echo https://dl-cdn.alpinelinux.org/alpine/v3.14/main >> /etc/apk/repositories
echo https://dl-cdn.alpinelinux.org/alpine/v3.14/community >> /etc/apk/repositories

Note : https://github.com/ish-app/ish/blob/master/deps/aports/community/x86/index.txt currently points to v3.14. Once this file points to a newer version, the above commands can be updated to match.

Note : The reason why iSH has its own repositories is so that the app is entirely self-contained so that iSH with apk can pass app review. The repositories are a pseudo apk filesystem mounted on /ish/apk that when read, will actually download from App Store as on-demand resources. It also means that Apple can review all packages in iSH's repositories.

Clone this wiki locally