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?
Unlike Windows, on Linux you need to run
./<command>
instead of just<command>
for executables in you current directory.Unless you have
.
in your$PATH
What a mad lad idea
You also need to
chmod +x path
files downloaded from the internet to make it executable.