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

  • Vittelius@feddit.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 days ago

    I found pipx the easiest way to install and manage a current ytdlp installation

    sudo apt install pipx
    pipx ensurepath
    
    pipx install yt-dlp
    

    Yes I know, it’s an additional package manager, but it actually is a package manager and will therefore ensure the setup is correct