+4 votes
36 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)   | 36 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.1k 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 | 37 views
+3 votes
1 answer
+1 vote
1 answer
+2 votes
0 answers
+3 votes
1 answer
asked Mar 30 by toheed (1.2k points) | 22 views
+2 votes
0 answers
+3 votes
0 answers
asked Jun 17 by noor (1.1k points) | 7 views
+2 votes
0 answers
asked Jun 20 by athar (3.1k points) | 13 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.
113 questions
85 answers
38 comments
103 users