Here’s a simple setup guide to install and use yt-dlp on Debian / Ubuntu based systems.
yt-dlp) on Debian / UbuntuAlways update your package list first.
sudo apt update
sudo apt upgrade
yt-dlp works best with ffmpeg for merging video/audio and converting formats.
sudo apt install ffmpeg curl
The Ubuntu/Debian repo version is often outdated, so install the latest version directly.
sudo curl -L <https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp> \\\\
-o /usr/local/bin/yt-dlp
Make it executable:
sudo chmod a+rx /usr/local/bin/yt-dlp
yt-dlp --version
If it prints a version number, it's installed correctly.