This question explains how to do it with
curl. The accepted answer also points out that
If wget is available, that would be far simpler.
I looked through
mam wget but the got lost in there, and didn't find an option to follow redirects.
wget follows redirects automatically. Just give the URL as an argument
Start the download in chrome browser. When it starts cancel it and go to downloads page. You can see the url for the download. Copy it and use it with wget.
Click the link, you'll get redirected, and you'll see something like "Redirecting... if you are not automatically redirected, click the direct link.
Copy that [direct] link's location, paste it in the command-line like this
That's it! It worked for me.
Edit: You should omit everything after the '?' character in the url, or else the filename will also have this part.
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?