Last active
March 16, 2023 13:48
-
-
Save hoangdh/95556352b98cccebf0d864054a2ac600 to your computer and use it in GitHub Desktop.
Install youtube-dl and FFMpeg on Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget -qP /tmp/ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz | |
cd /tmp | |
tar -xf /tmp/ffmpeg-release-amd64-static.tar.xz | |
cp -R /tmp/ffmpeg-*/ff* /usr/local/sbin/ | |
rm -rf /tmp/ffmpeg-* | |
curl -sL https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl | |
chmod a+rx /usr/local/bin/youtube-dl | |
echo 'Done!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment