From 535e63b662e0fa6bf26f315337de946d4c123b56 Mon Sep 17 00:00:00 2001 From: MrRawes Date: Sat, 26 Mar 2022 09:44:25 +0000 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 661e7feea..877626f22 100644 --- a/README.md +++ b/README.md @@ -20,23 +20,23 @@ youtube-dl - download videos from youtube.com or other video platforms To install it right away for all UNIX users (Linux, macOS, etc.), type: - 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 + su -c "curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl" + su -c "chmod a+rx /usr/local/bin/youtube-dl" 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 chmod a+rx /usr/local/bin/youtube-dl + su -c "wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl" + su -c "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`). You can also use pip: - sudo -H python3 -m pip install --upgrade youtube-dl + su -c "python3 -m pip install --upgrade youtube-dl" If you want to be on the cutting edge, you can also install the master branch with pip: - sudo -H python3 -m pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/master.tar.gz + su -c "python3 -m pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/master.tar.gz" This command will update youtube-dl if you have already installed it. See the [pypi page](https://pypi.python.org/pypi/youtube_dl) for more information.