Can I uninstall it then? How to do this the recommended way?
Getting back to the initial question: Can I install python pip via pkcon and use that since searching the forum unveils to me there seems to be no working app?
Or can I install the current version of python which allows me to download and run yt-dlp as executable file? If so, how is the recommended way?
I hope you’re less confused after reading this than I…
EDIT:
I understand pyrhon 3.8 is preinstalled.
Question: How do I update to current version of python?
you maybe want to use zypper, because that also tells you about conflicts and asks you how you want to resolve them. you can install it with pkcon. sometimes when i search and don’t want to wait until zypper refreshes sources i like to do pkcon search name . sometimes i saw more packages in zypper though that didn’t show up in pkcon
Do I get it right then that SFOS has components which depend on python which is why python is integrated into the OS and can’t be updated since those components might not work with a new version and therefore need to be updated, too?
I don’t know about software but yesterday at the community meeting there were discussions about updating python to 3.11 if I remember correctly. So at least I have understood that Jolla needs to do the Python update. I don’t know if community can help with that or not in github
official yt-dlp will not work until, at the earliest, the next major SFOS update, which in the last community meeting, it was claimed would include py3.11.
i forked yt-dlp and re-added python3.8 support here:
just tested and it works on my xperia 10iii on sailfish 5.0.0.68 on python 3.8.18 to download videos from youtube
edit: here is a binary that should work until youtube changes things:
NOTE: yt-dlp fully removed support for python3.8 last year. previous versions deprecated support for py3.8, but it still worked, which was great until websites made changes making the old versions useless. newer versions fixed the problems but python3.8 was unsupported. my fork has the fixes in version 2025-08-27, and makes python3.8 work again, but keeps py3.8 deprecated.
pkgx yt-dlp
Usage: yt-dlp [OPTIONS] URL [URL...]
yt-dlp: error: You must provide at least one URL.
Type yt-dlp --help to see a list of all options.
[defaultuser@JollaC2 dev]$ pkgx yt-dlp --version
2025.08.27
But it’s kind of risky (if you would for example install newer python with it systemwide, high chance of bricking some crucial scripts and the phone in the process, just running things should stay in ~/.pkgx), but if you’re comfortable with shell and recovery console it’s an option
pkcon is wrapper around zypper. It’s sometimes tad annoying as it obscures errors and doesn’t allow easy resolution of problems but in the end they’re all installed via rpm
This most recent nightly build of yt-dlp works perfectly fine for me on aarch64, eg. the 10 III. No need to install newer Python or any other dependencies as everything is bundled
Huh. I thought this wasn’t possible anymore, but this version upgrades just fine, whereas both teleshoes and release don’t. After running --update-to nightly on all 3 versions: