The software package used under the Ubuntu/debian system is deb, so many of the centos/linux RPM packages can not be quickly installed under the Ubuntu/debian system by directly using packages. The local preferred method is to directly use the source code to download the software to compile the package, which can be installed on different platforms through the compilation, but if only the RPM package is not as long as the time to compile the installation software, can also be installed through the alien tool to replace the RPM package to install, with centos/ The Yum tool under the Redhat system can typically use apt to quickly install alien, which can be used to replace the RPM package under the Centos/redhat system after installing the alien tool, or the Deb package in the Ubuntu/debian system for RPM packages. The use is also very simple, as follows:
Apt-y Install alien# installation Alien Tool alien-k--scripts filename.rpm# reload rpm package into Deb package alien-r filename.deb# generate Red Hat RPM package
Packages converted through the RPM package may not be successful, of course, if the software you use has a Deb package under the Ubuntu/debian system that's best, it's important to note that using APT package management tools under the Ubuntu/debian system is not like centos/ Yum under the Redhat system can install the Deb package directly just like the local RPM package, and it needs to be installed with dpkg (to install the Deb package, as with the RPM command), so many people may ask how to resolve the dependencies between the packages? In fact, do not worry, after the use of dpkg installation if there is an installation of the package is missing the relevant dependency package error can then be resolved through the APT tool, as follows:
Dpkg-i filename.rpmapt-get-f-y install# Install the Deb package if there is a missing dependent package error, then use the APT tool to install the dependent package to resolve
Ubuntu/debian under the Installation Packaging tool-alien