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.

  • GustavoM@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 months ago

    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 &&.