Ok. I am trying to write a perl program to automate installation of certain softwares (as root) on a linux machine. I want my perl program to call an installation script and provide parameters to that script such that I do not have to enter 'yes', 'no', 'continue', create directory?', etc, from the command line. I want to fully automate the installation process without much user interaction via keyboard. I need help. Thanks
eachowcc
0
Newbie Poster
Recommended Answers
Jump to PostOk. I am trying to write a perl program to automate installation of certain softwares (as root) on a linux machine. I want my perl program to call an installation script and provide parameters to that script such that I do not have to enter 'yes', 'no', 'continue', create directory?', …
Jump to PostYou need to look at expect rather than trying to use perl.
expect is used for automating interactive dialogues.
All 5 Replies
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
eachowcc
0
Newbie Poster
jim mcnamara
19
Junior Poster
eachowcc
0
Newbie Poster
Comatose
290
Taboo Programmer
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.