CentOS 7如何将.deb文件转换.rpm
Posted 愤怒的企鹅
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS 7如何将.deb文件转换.rpm相关的知识,希望对你有一定的参考价值。
1、首先下载alien工具
http://ftp.de.debian.org/debian/pool/main/a/alien/
http://ftp.de.debian.org/debian/pool/main/a/alien/alien_8.95.tar.xz
2、tar -vxf alien_8.95.tar.xz
3、perl Makefile.PL
4、gmake
5、make install
6、alien -r google-chrome-stable_current_amd64.deb
7、rpm -ivh google-chrome-stable-62.0.3202.94-2.x86_64.rpm
error:
file / from install of google-chrome-stable-62.0.3202.94-2.x86_64 conflicts with file from package filesystem-3.2-21.el7.x86_64
file /usr/bin from install of google-chrome-stable-62.0.3202.94-2.x86_64 conflicts with file from package filesystem-3.2-21.el7.x86_64
from:http://blog.csdn.net/u011473614/article/details/44903205
------------------------------------------------------------------------------------------------
and install by:
yum localinstall google-chrome-stable_current_x86_64.rpm
or:
https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
rpm -ivh google-chrome-stable_current_x86_64.rpm
以上是关于CentOS 7如何将.deb文件转换.rpm的主要内容,如果未能解决你的问题,请参考以下文章