Hacker News new | past | comments | ask | show | jobs | submit login

For those that just want to play:

    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

It took me longer than it should to realise that you weren't referring to an Android version.

Thank you very much. Copy n pasting that, followed by

# apk add R

And I finally have R on my iPad!

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'

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.

The first network access fails until you grant local network permissions to iSH.

What are you trying to achieve here? What’s wrong with apk 2.10.4 that ships with iSH?

The version in the app store linked here does not ship with a binary of apk.

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

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact