Youtube Downloader
yt-dlp - a free and open source software tool for downloading video and audio from YouTube and many other video web sites. Download videos from various websites using yt-dlp command-line tool. yt-dlp is not the same program as youtube-dl, but it is a fork of it. yt-dlp is a more modern, actively maintained project that originated as a fork of the original youtube-dl, which is now discontinued. It serves the purpose of downloading media from platforms like YouTube and over 1000 other sites, yt-dlp includes numerous enhancements, additional features, and faster updates compared to the original youtube-dl. It is largely a drop-in replacement for youtube-dl, meaning basic usage is nearly identical, but it offers improved functionality and support for more websites.
sudo apt remove yt-dlp sudo apt install python3-pip sudo apt update pip install -U yt-dlp
If you install yt-dlp from the ubuntu repository it will likely be out of date and throw an error when you attempt to use it for youtube.com therefore remove the apt package and then install via python.
The installer will put it in your ~/.local/bin directory so you may with to make a symlink (if you are the only user), add it to your path, or copy and correct permissions for multi user environment.
/home/nicolep/.local/bin/yt-dlp
Usage example to download a video from youtube.
yt-dlp https://youtu.be/zjE8EQehEBQ?si=szpsEiTzR1yHAELl