Skip to content

Instantly share code, notes, and snippets.

@jsantell
Created May 15, 2013 19:26
Show Gist options
  • Select an option

  • Save jsantell/5586617 to your computer and use it in GitHub Desktop.

Select an option

Save jsantell/5586617 to your computer and use it in GitHub Desktop.
Get linux firefox binaries
# 32 bit
url="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest/linux-i686/en-US/"
# 64 bit
url="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest/linux-x86_64/en-US/"
index=`wget -q -O - $url`
file=`echo $index | tr '\n' ' ' | sed 's/.*\(firefox-[0-9]*[\.0-9]*.tar.bz2\).*/\1/'`
wget -O firefox.tar.bz2 "$url""$file"
bzip2 -cd firefox.tar.bz2 | tar xvf -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment