News for hackers. Stuff that matters.
Re:iSH Shell by banana_giraffe on Thursday October 22, 2020 @04:10PM (#24862764)
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
Re:iSH Shell by userbinator on Thursday October 22, 2020 @08:26PM (#24864882)
It took me longer than it should to realise that you weren't referring to an Android version.
Re:iSH Shell by teruakohatu on Thursday October 22, 2020 @10:29PM (#24865444)
Thank you very much. Copy n pasting that, followed by

# apk add R

And I finally have R on my iPad!

Re:iSH Shell by mdolahBI on Friday October 23, 2020 @11:25AM (#24870455)
Just 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'
Re:iSH Shell by banana_giraffe on Friday October 23, 2020 @11:43AM (#24870689)
Odd, 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.

Re:iSH Shell by gorkish on Friday October 23, 2020 @12:39PM (#24871301)
The first network access fails until you grant local network permissions to iSH.
Re:iSH Shell by datfrojo on Thursday October 22, 2020 @08:15PM (#24864799)
What are you trying to achieve here? What’s wrong with apk 2.10.4 that ships with iSH?
Re:iSH Shell by banana_giraffe on Thursday October 22, 2020 @08:16PM (#24864810)
The version in the app store linked here does not ship with a binary of apk.
Re:iSH Shell by datfrojo on Thursday October 22, 2020 @08:18PM (#24864820)
Ahhhh 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