如何在Ubuntu中安装rpm包

原本是为了装flash player

但是下载下来的是rpm的包, 所以有这个问题

解决方案

Normally you install software or deb packages on Ubuntu/Mint linux via Synaptic, Ubuntu Software Center/ppa, or an apt-get command from the terminal. In another hand, Fedora, centos, mandriva, and redhat support rpm packages.

Someday you have to install rpm package to your ubuntu/mint linux/debian box, there is a utility called Alien, Alien will converts packages from one format to another with ease.

Here is how to install rpm packages on ubuntu, linux mint, or debian

Install alien and all the dependencies it needs

# apt-get install alien dpkg-dev debhelper build-essential

To convert a package from rpm to debian format

# alien packagen.rpm

Finally, install your package !

# dpkg -i package.deb

For more info, use

$ alien -h

Source: http://namhuy.net/1207/how-to-install-rpm-packages-on-ubuntu-mint-or-debian.html

猜你喜欢

转载自blog.csdn.net/Scythe666/article/details/82943304
今日推荐