[Solved] trying to install pecl without having it prompt for a yes m | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

[Solved] trying to install pecl without having it prompt for a yes m

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-05-2010
sjsotelo sjsotelo is offline
Registered User
 
Join Date: Oct 2010
Last Activity: 5 October 2010, 8:05 PM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
[Solved] trying to install pecl without having it prompt for a yes m

I want to install pecl from a single command without it asking me for a response of "yes" or "no" to finish the install...

--------------------------------------------------------------------------


Code:
# pecl install pecl_http
downloading pecl_http-1.7.0.tgz ...
Starting to download pecl_http-1.7.0.tgz (173,979 bytes)
.........................done: 173,979 bytes
71 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
whether to enable cURL HTTP requests; specify libcurl directory [yes] :

--------------------------------------------------------------------------

What can I do to give it a default answer of "YES" for all of the questions asked (a total of 3) within a single command...

thanks for any help!

---------- Post updated at 07:05 PM ---------- Previous update was at 06:38 PM ----------

I think I have found the answer...


Code:
printf "yes\n" | pecl install pecl_http


Last edited by vbe; 10-06-2010 at 04:29 AM.. Reason: code tags
Sponsored Links
    #2  
Old 10-06-2010
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 23 October 2014, 4:36 PM EDT
Location: Switzerland - GE
Posts: 5,834
Thanks: 162
Thanked 414 Times in 389 Posts
Thanks for keeping us informed..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to install jdk 6u17 in a prompt-less script mhart Shell Programming and Scripting 0 12-17-2009 11:19 AM
install macbook pro fedora10 ???((<<if can install, how to install? >> )) kzBSD Linux 0 03-18-2009 02:57 AM
Solaris 10 install doesn't display Network Connectivity prompt page sarahsi Solaris 3 08-30-2007 08:44 AM
Oracle 9i install: Error in invoking target install of makefile chris2005 HP-UX 5 02-21-2007 08:45 AM



All times are GMT -4. The time now is 05:14 PM.