All I wanted is to install the current yt-dlp (2024.07.16-1) on debian 12.6.
Suggested way to that according to https://packages.debian.org/sid/all/yt-dlp/download is to add that line to that file (etc/apt/sources.list), but do I really need to download the 1600 files that upgrade would entail?
I don’t want to download the tar.gz 'cause upgrading that would be a pain.
Just install it via
pip
and then symlink its binary file to/usr/bin
.t. Am running a live stream 24/7 on my orange pi zero 3 (via ffplay/yt-dlp) since forever.
“Why not simply add
$HOME/.local/bin
to$PATH
?”Because it breaks things. While symlinking it does not.
“Why?”
No idea, honestly.
Also, you can take a step further and make a tmpfs partition @
$HOME/.local
and then add the following line to your .bash_profile file:TMPDIR=$HOME/.local pip install --break-system-packages -I --no-input yt-dlp &&
.use
pipx install
or your distro’s package instead ofpip install --break-system-packages
Apparently pipx dislikes tmpfs partitions, so nah.
why would you want to nuke your installed cli apps on every boot with a tmpfs
Eh, it’s a tradeoff that I get in exchange of a longer microsd lifespan. Which I’m completely fine with.