在ubuntu上先安装RPM支持的程序.
$sudo apt-get update
$sudo apt-get install alien
安装.rpm 文件
要安装.rpm文件.首先你要转换为.deb文件包才能安装在ubuntu机器上.
快速转换使用下面命令.
$sudo alien -k name-of-rpm-file.rpm
- This will convert the .rpm to a .deb.
- The “-k” will keep the version number. Otherwise alien adds a “1? to the version number.
$sudo dpkg -i name-of-deb-file.deb
- 这将安装.deb 文件包.
原创文章,转载请注明: 转载自PT Ubuntu Blog