yausername / youtubedl-android

youtube-dl for android
GNU General Public License v3.0
947 stars 172 forks source link

[Question] Is there anyway that Python can be updated? #230

Closed BobbyESP closed 8 months ago

BobbyESP commented 1 year ago

Hi! Hope you are all good. I wanted to know if there is anyway to update Python. I've tried many times doing what is in the docs for extracting Python from the termux-packages repo but I think that I just suck using Docker or something like that xD. Thank you!

xibr commented 1 year ago

You may be able to build it manually by downloading the deb files from this link https://packages.termux.dev/apt/termux-main/pool/main/ The files you will need are in the documentation, however Android 5 and 6 will not be supported.

BobbyESP commented 1 year ago

Okay! Thank you for the quick response :))

BobbyESP commented 1 year ago

Is possible that the libutil lib isn't present anymore?

BobbyESP commented 1 year ago

Nevermind, I've found it in the API 21 pool

xibr commented 11 months ago

About your comment in https://github.com/yausername/youtubedl-android/issues/196#issuecomment-1676449198 How did you build the Python for API 21?

BobbyESP commented 11 months ago

About your comment in https://github.com/yausername/youtubedl-android/issues/196#issuecomment-1676449198 How did you build the Python for API 21?

I downloaded the packages that you mention in there that are the needed debs, used the zip command that I don't remember right now and that created the zip.

UPDATE: This is the packages that I have merged:

image

The script for creating the zip:

image
BobbyESP commented 11 months ago

I have made this MD document for myself in a future. SPOTDL-ANDROID - The docs.md

In here I explain all the process that I followed until get the final libpython.zip.so file (but with all the deb packages just for testing).