deb to rpm; rpm to deb

The packages with the deb suffix are for Debian (including Ubuntu), not for centos.
The packages with the rpm suffix are for Redhat (including CentOS).
Websites that provide linux packages usually give both rpm and deb suffixes with the same version number as the installation package, as well as the compiled installation package.
If there is no rpm package, it can only be compiled and installed.





First you need to install the alien tool: 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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326404758&siteId=291194637
rpm