CentOS 如何将.deb 文件 转换.rpm

首先需要安装alien工具:http://ftp.de.debian.org/debian/pool/main/a/alien/
[root@localhost tmp]#tar zxvf alien_8.88.tar.gz
[root@localhost alien]#perl Makefile.PL
[root@localhost alien]#make
[root@localhost alien]#make instal
[root@localhost alien]#yum -y install rpm-build
[root@Master Downloads]# alien -r libbz2-dev_1.0.6-5_i386.deb 
libbz2-dev-1.0.6-6.i386.rpm generated
[root@Master Downloads]# rpm -ivh libbz2-dev-1.0.6-6.i386.rpm 
------------------------------------------------------------------------------------------------
可能会报错
[root@localhost alien]#yum -y install python-libs python-wnck

 

posted @ 2013-11-10 14:19  jackluo  阅读(24824)  评论(0编辑  收藏  举报