From bd27d117b0d8a6bda4480c85d8cb350c537f0008 Mon Sep 17 00:00:00 2001 From: Rob Davis Date: Sun, 20 Jul 2025 23:45:39 +0100 Subject: [PATCH 1/3] 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: From d74f5abbe5d8efe3ec6e03179fe1939184b03f64 Mon Sep 17 00:00:00 2001 From: Rob Davis Date: Sun, 20 Jul 2025 23:46:52 +0100 Subject: [PATCH 2/3] https://github.com/ytdl-org/youtube-dl/issues/33163 corrected the other URL --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ed5d76132..00c246e0b 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,8 @@ to install it right away for all UNIX users (Linux, macOS, etc.), type: If you do not have curl, you can alternatively use a recent wget: - sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl + sudo wget https://github.com/ytdl-org/youtube-dl/releases/latest/download/youtube-dl -O /usr/local/bin/youtube-dl + sudo chmod a+rx /usr/local/bin/youtube-dl Windows users can [download an .exe file](https://yt-dl.org/latest/youtube-dl.exe) and place it in any location on their [PATH](https://en.wikipedia.org/wiki/PATH_%28variable%29) except for `%SYSTEMROOT%\System32` (e.g. **do not** put in `C:\Windows\System32`). From 76b98e15f18f3fbe95b79d18b6016e53c230c47b Mon Sep 17 00:00:00 2001 From: Rob Davis Date: Sun, 20 Jul 2025 23:51:43 +0100 Subject: [PATCH 3/3] https://github.com/ytdl-org/youtube-dl/issues/33163 make command look like code so that people recognise it's a command --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 00c246e0b..99eb6413d 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ e.g. for apt-based Linux distros. Then the rest should be generic for any Linux 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 + sudo ln -s /usr/bin/python3 /usr/bin/python Then, @@ -43,7 +43,7 @@ to install it right away for all UNIX users (Linux, macOS, etc.), type: If you do not have curl, you can alternatively use a recent wget: sudo wget https://github.com/ytdl-org/youtube-dl/releases/latest/download/youtube-dl -O /usr/local/bin/youtube-dl - + sudo chmod a+rx /usr/local/bin/youtube-dl Windows users can [download an .exe file](https://yt-dl.org/latest/youtube-dl.exe) and place it in any location on their [PATH](https://en.wikipedia.org/wiki/PATH_%28variable%29) except for `%SYSTEMROOT%\System32` (e.g. **do not** put in `C:\Windows\System32`).