Skip to content

Instantly share code, notes, and snippets.

@AlecSchneider
Last active October 21, 2024 23:21
Show Gist options
  • Save AlecSchneider/f7f8861a1f8cb361a624902f66ab1a8e to your computer and use it in GitHub Desktop.
Save AlecSchneider/f7f8861a1f8cb361a624902f66ab1a8e to your computer and use it in GitHub Desktop.
How to install apk and Python on your iPhone using the iSH Shell
cd
# you can do this all in one command
wget -qO- http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86/apk-tools-static-2.10.5-r1.apk | tar -xz sbin/apk.static && ./sbin/apk.static add apk-tools && rm sbin/apk.static
apk add python3
@dphans
Copy link

dphans commented Feb 26, 2022

Great!
But how to install virtual environments package into python installed above?

I can install pip by:

apk add py3-pip

But apk add py3-venv not working.

@ashlynhar
Copy link

install all in one command

wget -qO- http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86/apk-tools-static-2.10.5-r1.apk | tar -xz sbin/apk.static && ./sbin/apk.static add apk-tools && rm sbin/apk.static

@gauravbagul003
Copy link

Thanks @dphans

@gauravbagul003
Copy link

@Kuludare
Copy link

Kuludare commented Sep 4, 2023

I finally install mine

@David-ux-cyber
Copy link

Yebblinux please following below URL

you don't need to download any package just run APK add python3

Hello!
Don’t work this command :
localhost:~$ apk add python3
ERROR: Unable to lock database: Permission denied
ERROR: Failed to open apk database: Permission denied

I need help please.

@NRTC4m0
Copy link

NRTC4m0 commented Dec 26, 2023

Try sudo @David-ux-cyber

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment