Skip to content

Instantly share code, notes, and snippets.

@varunchopra
Last active February 8, 2017 21:15
Show Gist options
  • Save varunchopra/764422a2e0524be14add7d70828bd4ef to your computer and use it in GitHub Desktop.
Save varunchopra/764422a2e0524be14add7d70828bd4ef to your computer and use it in GitHub Desktop.
#!/bin/bash
PATH=/bin:/usr/bin:/sbin:/usr/sbin
a=ffmpeg
b=ffmpeg-git-64bit-static.tar.xz
c=ffmpeg-git-*-64bit-static
mkdir $a
wget --no-check-certificate --directory-prefix=$a https://johnvansickle.com/ffmpeg/builds/$b
tar xf $a/$b -C $a
rm -rf $a/$b $a/$c/GPLv3.txt $a/$c/readme.txt $a/$c/manpages
mv $a/$c/* /usr/bin
rm -rf $a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment