+4 votes
62 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.4k points)   | 62 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, 2020 by Ron | 65 views
+3 votes
1 answer
asked Apr 10, 2020 by admin (1.4k points) | 51 views
+2 votes
1 answer
+2 votes
0 answers
+2 votes
0 answers
+2 votes
1 answer
asked Oct 4, 2020 by toheed (1.4k points) | 56 views
+3 votes
1 answer
asked Mar 30, 2020 by toheed (1.4k points) | 46 views
+2 votes
0 answers
+3 votes
0 answers
asked Jun 17, 2020 by noor (1.1k points) | 17 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.
131 questions
94 answers
44 comments
134 users