Put your own deb format test software package in a folder, right-click in the folder and "Open in Terminal".
Enter the root user and install alien.
yum install alien
Then use the alien command to convert the test software package to rpm format.
alien -r 软件名 generated
After successful conversion, you will get an rpm file.
Then try to use the rpm command to install.
rpm -ivh 文件名rpm
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 on centos. For more information, please follow other related articles on the PHP Chinese website!