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.

  • taaz@biglemmowski.win
    link
    fedilink
    English
    arrow-up
    19
    ·
    5 months ago

    pipx install yt-dlp

    This will install yt-dlp with everything it needs but without fucking anything else up, both system-wise and for your user (because installing python packages in your home manually can cause problems). You must have your $HOME/.local/bin in $PATH to then be able to run yt-dlp, but I think pipx will check and warn you.

    pipx upgrade yt-dlp to update it (or upgrade-all)

    • Baldur Nil@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      5 months ago

      That’s what I do, except I straight up create the python venv in a folder, activate it and then do pip install yt-dlp. No messing up with my system.

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        5 months ago

        pipx does that without this manual process - it’s meant for these standalone apps that are in your $PATH.

        • Baldur Nil@programming.dev
          link
          fedilink
          arrow-up
          6
          arrow-down
          1
          ·
          edit-2
          5 months ago

          It’s a good concept, I just have to look it up and understand exactly what it is doing before I start using it.