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?
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