1. 程式人生 > >CentOS 7如何將.deb文件轉換.rpm

CentOS 7如何將.deb文件轉換.rpm

ash article local brush net tar.xz -s org direct

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