Skip Navigation

what exactly am I doing adding deb http://ftp.us.debian.org/debian sid main to my etc/apt/sources.list? trying to install newest yt-dlp on debian 12.6

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.

24

You're viewing a single thread.

24 comments
  • 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 of pip install --break-system-packages

24 comments