LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-22-2010, 09:42 AM   #1
tuxtutorials
Member
 
Registered: Dec 2008
Location: New York
Distribution: RedHat, Solaris
Posts: 68

Rep: Reputation: 16
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
 
Old 11-22-2010, 11:13 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 403Reputation: 403Reputation: 403Reputation: 403Reputation: 403
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Interactive and non-interactive shells? Tim356 Linux - Newbie 7 11-05-2008 11:32 PM
LXer: Speaking Unix, Part 6: Automate, automate, automate! LXer Syndicated Linux News 0 01-04-2007 10:54 AM
interactive and non-interactive shell linuxjamil Programming 3 09-03-2006 09:42 PM
LXer: Automate interactive transactions with Expect LXer Syndicated Linux News 0 08-04-2006 09:54 PM
LXer: Automate Linux Installs With Debian Pre-Seeds, Part 2 LXer Syndicated Linux News 0 06-22-2006 02:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration