Created
February 9, 2014 10:11
-
-
Save phoenixg/8897051 to your computer and use it in GitHub Desktop.
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 | |
# tested successfully on digitalocean Ubuntu 12.40 with docker version | |
# after run this script, then wget youtube-dl.support1080p.sh gist, then 1080p download is working | |
sudo apt-get -y install vim | |
sudo apt-get -y install git | |
sudo apt-get -y install gcc | |
sudo apt-get -y install make | |
sudo apt-get -y install yasm | |
wget http://kakola.googlecode.com/files/lame-3.98.4.tar.gz | |
tar zvxf lame-3.98.4.tar.gz | |
cd lame-3.98.4 | |
./configure --enable-shared | |
make | |
make install | |
wget http://ffmpeg.org/releases/ffmpeg-2.1.1.tar.bz2 | |
tar -xvjf ffmpeg-2.1.1.tar.bz2 | |
cd ffmpeg-2.1.1 | |
./configure --enable-libmp3lame | |
make | |
make install | |
sudo apt-get -y install apache2 | |
sudo apt-get -y install youtube-dl | |
youtube-dl -U | |
youtube-dl -U | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment