Idea:
You can directly convert deb to rpm format and then install it.
Method:
1. Enter the root user and install alien
yum install alien
2. Then convert the test software package to rpm through the alien command Format.
alien -r 软件名 generated
3. After the conversion is successful, you will get an rpm file
4. Then try to use the rpm command to install.
rpm -ivh 文件名.rpm
#5. If the installation fails, you can force the installation.
rpm -ivh --nodeps --force 文件名.rpm
Related tutorial recommendations: centos tutorial
The above is the detailed content of How to install deb format software package under centos. For more information, please follow other related articles on the PHP Chinese website!