0

I am writing a script that download this software, then install and run it on linux system.

Issue is when I do wget to download, my download doesn't initiate, it halts showing below line, because software web portal waiting user to accept license terms&conditions:

Connecting to software.intel.com

I can download this software from my windows system, since I can accept license agreement by clicking accept button. But how do I download this software and accept license agreement from my linux system in script?

Do I need to pass any parameter in wget command?

0

wget is non-interactive. If you wish to interactively download via the shell you will need to use different software.

To get your package, the easiest course of action would be to accept the license and download it on a computer with a browser than using scp or sftp or any other method to transfer files from one computer to another.

In the end you cannot interactively download using only wget, you would have to wrap it in a interactive script or use a different method to obtain this package.

  • I am not able to wget even with the download link you shared. Reason you're able to do so, I am guessing, is that you already accept license agreement, and that is saved for your that session. If you simply open incongnito mode of any browser and try copy-pasting your link, it will not download file. – ghost204nit Dec 11 '18 at 22:00
  • @ghost204nit I see what you mean. the file I downloaded was not a valid tarball. Is it at all possible to simply download this file on one computer with a browser and push the tarball over to the machine that needs it? Is there any other way that Intel distributes these kinds of files? I am going to edit the answer to remove that part as it is invalid. – kemotep Dec 12 '18 at 13:23
  • @kemotop: scp or sftp option I was already aware of, but was reluctant to use, as I wanted to have complete automation. I did not find any other way that Intel distributes this package. So now, for sake of simplicity and time efficiency, I am going with scp. – ghost204nit Dec 12 '18 at 15:46
  • @ghost204nit Part of the issue is that you have to navigate multiple pages and the download links are based on cookie sessions so you will need to contact Intel to see if they have API for this on their site. If you do not need to change packages very often you only need to get your hands on this package once manually and you could automate the deployment of it to many machines. – kemotep Dec 12 '18 at 15:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.