From bd27d117b0d8a6bda4480c85d8cb350c537f0008 Mon Sep 17 00:00:00 2001 From: Rob Davis Date: Sun, 20 Jul 2025 23:45:39 +0100 Subject: [PATCH] https://github.com/ytdl-org/youtube-dl/issues/33163 --- README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 47e686f84..ed5d76132 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,26 @@ youtube-dl - download videos from youtube.com or other video platforms # INSTALLATION -To install it right away for all UNIX users (Linux, macOS, etc.), type: +# Prerequisite + +You must have Python 3 installed and it be runnable with the command `python`. + +Ensure you Python installed, which for example with Ubuntu should be the case. + + sudo apt install python3 + +e.g. for apt-based Linux distros. Then the rest should be generic for any Linux distro. + +Crucially, link python to the (existing) install of Python3 because the youtube-dl code looks for python not python3 : + +sudo ln -s /usr/bin/python3 /usr/bin/python + +Then, + +to install it right away for all UNIX users (Linux, macOS, etc.), type: + + sudo curl -L https://github.com/ytdl-org/youtube-dl/releases/latest/download/youtube-dl -o /usr/local/bin/youtube-dl - sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl If you do not have curl, you can alternatively use a recent wget: