1、下载dpkg命令的安装包epel-release-6-8.noarch.rpm
wget -c http://archives.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm
2、解压安装包
rpm -ivh epel-release-6-8.noarch.rpm
3、输入yum install dpkg后出现报错(解决方法为一下几步):
Error: Package: dpkg-1.16.18-3.el6.x86_64 (epel)
Requires: liblzma.so.0()(64bit)
4、下载liblzma.so的安装包xz-compat-libs-5.2.2-1.el7.x86_64.rpm
wget -c http://mirror.centos.org/centos/7/os/x86_64/Packages/xz-compat-libs-5.2.2-1.el7.x86_64.rpm
5、解压安装包xz-compat-libs-5.2.2-1.el7.x86_64.rpm
rpm -ivh xz-compat-libs-5.2.2-1.el7.x86_64.rpm
6、重新输入yum install dpkg安装dpkg
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。 |