5 ms·
For those that just want to play: cd wget http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86/apk-tools-static-2.10.5-r1.apk cd / tar x
by banana_giraffe 6y ago
For those that just want to play:
cd
wget http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86/apk-tools-static-2.10.5-r1.apk
cd /
tar xvzf ~/apk-tools-static-2.10.5-r1.apk
ln -s /sbin/apk.static /sbin/apk
cd
apk
- datfrojo 6y agoWhat are you trying to achieve here? What’s wrong with apk 2.10.4 that ships with iSH?
- banana_giraffe 6y agoThe version in the app store linked here does not ship with a binary of apk.
- datfrojo 6y agoAhhhh I installed the version from the App Store and it just kept the app data from the version installed via Xcode. Didn’t realise that the App Store version was missing apk
- userbinator 6y agoIt took me longer than it should to realise that you weren't referring to an Android version.
- teruakohatu 6y agoThank you very much. Copy n pasting that, followed by # apk add R And I finally have R on my iPad!
- mdolahBI 6y agoJust tried this but it seems to have failed on the `wget` command iPhone:~# wget http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86/apk-tools-static-2.10.5-r1.apk wget: bad address 'dl-cdn.alpinelinux.org'
- banana_giraffe 6y agoOdd, not sure why that's failing for you. You can bypass the wget command by downloading that file in Safari, then doing mount -t ios . /mnt # Pick "Downloads" from "On My iPad" in the GUI Then you can run tar xvzf /mnt/apk-tools-static-2.10.5-r1.apk When you cd to the root. Though, I suspect apk itself will fail if you can't resolve domain names. Edit: As gorkish points out, make sure iSH has network permissions first and try again with the original command.
- gorkish 6y agoThe first network access fails until you grant local network permissions to iSH.