I'd like to use the command DPKG in my PHP script (using exec).

I'm running CentOS. Is there a way I can install the command DPKG on there?

Step by step guide would be fap-tastic.

Thanks.

link|improve this question
feedback

1 Answer

with centos you should be using yum, since it is the package manager of centos.

dpkg is for debian (ubuntu) based distributions.

link|improve this answer
so there is now way of installing the dpkg command for use in php? – Moe Jul 2 '10 at 7:23
Use a OS that supports dpkg if you want to use dpkg – Nitrodist Jul 2 '10 at 7:28
1  
the real question is: what do you need dpkg for in php?? – akira Jul 2 '10 at 8:17
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.