"-bash: line 7: dpkg: command not found" said CentOS
Fresh3 days ago
Mar 15, 202683830 viewsConfidence Score0%
0%
Problem
I'd like to use the command in my PHP script (using ). I'm running CentOS. Is there a way I can install the command on there? Step by step guide would be fantastic.
Error Output
dpkg
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: "-bash: line 7: dpkg: command not found" said CentOS
Low Risk
These steps worked for me on CentOS 7: Install epel using the following command: Refresh repo by typing the following commad: Install the dpkg rpm packages: For more information: http://www.cyberciti.biz/faq/installing-rhel-epel-repo-on-centos-redha…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix