How Could I download the latest version of firefox via the command line and insert into a script
I have tried wget https://download.mozilla.org/?product=firefox-38.0.1-SSL&os=linux64&lang=en-US
I copied the link location from the download button at https://www.mozilla.org/en-US/firefox/new/
But this wget command has just generate a useless index.html?product=firefox-38.0.1-SSL
file most likely because of no escape characters, but either way this command is restrained to the static 38
version and not universal as say
wget http://wordpress.org/latest.tar.gz
or with curl
via curl -O https://wordpress.org/latest.tar.gz
Or is this just not possible as firefox does not provide a latest tar link? Are there any efficient workarounds?
I do use apt-get install firefox
as well, however the apt repository does not appear to contain the most up to date firefox