LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Automate interactive cli installs? (https://www.linuxquestions.org/questions/linux-software-2/automate-interactive-cli-installs-845802/)

tuxtutorials 11-22-2010 08:42 AM

Automate interactive cli installs?
 
Hi all, I was wondering if anyone can provide recommendations on any projects that can fully automate the install process of an interactive application. I am doing installs of applications such as websense and they are all interactive. I would like to automate all interactive installs in my environment. I did find the following: http://antinstaller.sourceforge.net/auto.html but wonder what others are using.

Thanks

i92guboj 11-22-2010 10:13 AM

You can try to feed the installer using shell redirection, even from a file, or even from the same file.

Code:

$ cat << EOF
this is just an example
just imagine that "cat" is an installer
EOF

this is just an example
just imagine that "echo" is an installer

This can't always be done, of course. It depends on the app itself.

Another alternative is to uncompress the file using 7z or whatever, then do your own.


All times are GMT -5. The time now is 11:26 AM.