this post was submitted on 20 Aug 2025
27 points (88.6% liked)

Linux

57549 readers
958 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 6 years ago
MODERATORS
 

debian 13.0, downloaded yt-dlp with wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O ~/.local/bin/yt-dlp

the python script is in that directory, but if I execute yt-dlp on the terminal it returns bash: yt-dlp: command not found

what should I do?

SOLVED: add .local/bin to your $PATH

you are viewing a single comment's thread
view the rest of the comments
[–] infjarchninja@lemmy.ml 1 points 2 days ago* (last edited 2 days ago)

Hey arsus5478

There are instructions to install with wget on the git page as you mention and you seem to have folowed that guide, but the easiest way is to use APT.

For debian I would add the PPA repo:

There are clear instruction on the git page to install from apt.

About half way down the page you will see APT.

https://github.com/yt-dlp/yt-dlp/wiki/Installation

APT

You can download and install yt-dlp for recent Ubuntu and other related Debian-based distributions by adding this PPA

Add ppa repo to apt

sudo add-apt-repository ppa:tomtomtom/yt-dlp

Update package list

sudo apt update

Install yt-dlp

sudo apt install yt-dlp

Your system's package manager will now automatically download the correct dependencies and keep the package updated with the rest of your system whenever you update:

Done

this is a good introduction to adding an external PPA repo to apt and getting to know debian