I'd like to use the command
dpkg in my PHP script (using
I'm running CentOS. Is there a way I can install the command
dpkg on there?
Step by step guide would be fantastic.
These steps worked for me on CentOS 7:
sudo yum -y install epel-release
sudo yum repolist
sudo yum install dpkg-devel dpkg-dev
For more information: http://www.cyberciti.biz/faq/installing-rhel-epel-repo-on-centos-redhat-7-x/
For those who wanted to know: you can install dpkg.
Install epel-release rpm:
rpm -Uvh epel-release*rpm
Install dpkg rpm package:
yum install dpkg