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

How to install deb format software package on centos

王林
王林Original
2020-04-02 11:45:3013422browse

How to install deb format software package on centos

Put your own deb format test software package in a folder, right-click in the folder and "Open in Terminal".

How to install deb format software package on centos

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.

How to install deb format software package on centos

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!

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