Skip to content

Instantly share code, notes, and snippets.

@phoenixg
Created February 9, 2014 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phoenixg/8897051 to your computer and use it in GitHub Desktop.
Save phoenixg/8897051 to your computer and use it in GitHub Desktop.
#!/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