如何在Ubuntu上安装.rpm?

前端之家收集整理的这篇文章主要介绍了如何在Ubuntu上安装.rpm?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我是一个ubuntu用户,但是我需要安装打印机驱动程序
这是一个RPM(* .rpm)文件(对不起,它是Linux的制造商网站唯一可用的驱动程序).

是否可以在Ubuntu上安装RPM文件

提前致谢.

https://help.ubuntu.com/community/RPM/AlienHowto,使用外来包:

Alien converts an RPM package file into a Debian package file or Alien can install an RPM file directly. This is not the recommended way to install software packages in Ubuntu. If at all possible,install packages from Ubuntu’s repositories using Add/Remove,apt-get,or the Synaptic Package Manager. Package dependency conflicts may occur when attempting to install RPM packages.

这些命令应该这样做:

sudo apt-get install alien
sudo alien -i package_file.rpm

alien’s man page

WARNING

alien should not be used to replace important system packages,like init,libc,or other things that are essential for the functioning of your system. Many of these packages are set up differently by the different distributions,and packages from the different distributions cannot be used interchangeably. In general,if you can’t remove a package without breaking your system,don’t try to replace it with an alien version.

原文链接:https://www.f2er.com/ubuntu/349149.html

猜你在找的Ubuntu相关文章