Home  >  Article  >  Operation and Maintenance  >  How to install deb format software package under centos

How to install deb format software package under centos

王林
王林Original
2020-04-03 13:13:3410065browse

How to install deb format software package under centos

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

How to install deb format software package under centos

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

How to install deb format software package under centos

4. Then try to use the rpm command to install.

rpm  -ivh 文件名.rpm

How to install deb format software package under centos

#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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn