+4 votes
48 views

Hey there! I am trying to install php on my CentOs 7. Everythig went well but I want to know if there is a way to install php or any other package without confirmation with y ? The command I tried is:

yum install php php-*
by (1.3k points)   | 48 views

1 Answer

+3 votes

Please try this

yum install php php-* -y

use -y with the command to preconfirm the installation of the package. You can use this method for the installation of any package like this

yum install pkg-name -y
by (3.3k points)  
you are right!
We use -y as parameter to install package without user confirmation prompt.

Related questions

+4 votes
1 answer
asked Mar 20 by Ron | 48 views
+3 votes
1 answer
+1 vote
1 answer
+2 votes
0 answers
+1 vote
1 answer
asked Oct 4 by toheed (1.4k points) | 15 views
+2 votes
0 answers
+3 votes
0 answers
asked Jun 17 by noor (1.1k points) | 10 views
+3 votes
1 answer
asked Mar 30 by toheed (1.4k points) | 28 views




Welcome to Meansflow - Where Developers and Students Learn, Share, & Build Careers, where you can ask questions and receive answers from other members of the community.
118 questions
90 answers
43 comments
113 users