Lesson 6 of 19 ↓
- 1.Fedora + Distrobox + Arch + AUR Setup Guide
- 2.Enabling Hibernate on Linux
- 3.A Practical Git Workflow
- 4.Useful Linux Commands & Tips
- 5.Mirroring Your Android Screen with Scrcpy
- 6.Downloading Media with Yt-dlp
- 7.Consistent C/c++ Style with Clang-format
- 8.Auto-mounting Drives at Boot
- 9.Customizing Grub
- 10.Linux Swap Files Explained
- 11.Zram: Compressed Swap in Ram
- 12.Custom App Launch Behavior Via .desktop Files
- 13.Custom Mime Icons in Gnome
- 14.Fixing Missing Dock Icons (startupwmclass)
- 15.Installing Questasim for Hdl Simulation
- 16.Building Python 2 From Source
- 17.Auto-Starting WhatsApp and Telegram (Minimized or Tray)
- 18.Custom Neovim Configuration Guide
- 19.Running Windows Applications on Linux Seamlessly with WinBoat (Docker)
2 min read
Downloading Media with Yt-dlp
yt-dlp is an advanced command-line tool for downloading videos and audio from YouTube, Zoom, Teams, Google Drive, and hundreds of other sites — a feature-rich fork of youtube-dl with frequent updates and better performance. This guide covers installing it on Ubuntu/Debian, Fedora, and Windows, along with essential usage examples.
Install on Ubuntu / Debian
Method 1: via apt (official repo)
The simplest method for most users:
sudo apt update
sudo apt install yt-dlp -yMethod 2: via pip (latest features)
Requires Python 3. Best for getting the absolute latest features:
python3 -m pip install -U yt-dlpMethod 3: standalone binary (recommended)
Downloads the binary directly — ideal if you don't want dependency management:
sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp
sudo chmod +x /usr/local/bin/yt-dlpVerify installation:
yt-dlp --versionInstall on Fedora
Method 1: via dnf
sudo dnf install yt-dlp -yMethod 2: standalone binary (latest version)
sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp
sudo chmod +x /usr/local/bin/yt-dlpVerify installation:
yt-dlp --versionInstall on Windows
Method 1: standalone EXE (easiest way)
- Download the latest
yt-dlp.exefrom the official releases page. - Move
yt-dlp.exeto a permanent folder, e.g.C:\yt-dlp\. - Add it to PATH: search "Edit the system environment variables" in Windows Search → Environment Variables → select Path → Edit → New → paste the folder path.
- Test in CMD or PowerShell:
yt-dlp --versionMethod 2: Chocolatey (optional)
choco install yt-dlp -yQuick Usage Examples
Download best quality video:
yt-dlp "https://www.youtube.com/watch?v=VIDEO_ID"Download audio only (convert to MP3):
yt-dlp -x --audio-format mp3 "https://www.youtube.com/watch?v=VIDEO_ID"Download a full playlist:
yt-dlp -f best "PLAYLIST_URL"Keeping it Updated
If you installed via the standalone binary or pip, update easily:
yt-dlp -UNote
- Stay updated — site support changes constantly as platforms tweak their players.
- Some sites throttle or block excessive automated downloads; use it responsibly.
- Respect copyright and each platform's terms of service.
🔗 Official Repository: 👉 https://github.com/yt-dlp/yt-dlp
Comments
Loading the discussion…