rpm: RPM should not be used directly install RPM packages, use Alien instead!

本文介绍如何在Debian系统中正确地安装RPM格式的软件包,避免因使用RPM导致的包管理系统冲突问题。文章推荐使用alien工具将RPM包转换为Debian可识别的.deb格式,并通过dpkg进行安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Do not install rpm in Debian (I don't mean flash-plugin, I mean rpm package management). Debian's package management system (which makes sure everything is installed properly and with no conflicts.) is dpkg and it also includes apt-get, Synaptic and aptitude that use dpkg. RPM will bypass dpkg, so you may cause serious damage to your system. If you need to install an rpm package, you must do it using the tool "alien". It converts RPM packages to .deb and installs them properly through dpkg.


Code:

sudo apt-get install alien

To use alien:

Code:

sudo alien flash-plugin-10.0.15.3-release.i386.rpm

Then you can install it like this (watch the .deb at the end):

Code:

sudo dpkg -i flash-plugin-10.0.15.3-release.i386.deb

Or

Code:

sudo alien -i flash-plugin-10.0.15.3-release.i386.rpm

可以查看alien的help alien -t 转化为tar.gz的包等等

That will convert flash-plugin and install it.

A good reference guide for dpkg and apt-get is here.

转载于:https://my.oschina.net/guoba/blog/798147

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值