您的位置:首页 > 产品设计 > 产品经理

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

2016-12-01 00:00 711 查看
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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux-rpm
相关文章推荐