this post was submitted on 23 Jul 2024
39 points (97.6% liked)

Linux

48310 readers
645 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] taaz@biglemmowski.win 18 points 4 months ago (1 children)

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)

[–] balder1993@programming.dev 4 points 4 months ago* (last edited 4 months ago) (1 children)

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 6 points 4 months ago* (last edited 4 months ago) (1 children)

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

[–] balder1993@programming.dev 5 points 4 months ago* (last edited 4 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.