个人工具

UbuntuHelp:RPM/AlienHowto

来自Ubuntu中文

Wikibot讨论 | 贡献2007年11月30日 (五) 21:21的版本

跳转至: 导航, 搜索

Alien converts a RPM package file into a Debian package file or alien can install a 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. The Synaptic Package Manager may be able to fix or remove any broken packages.

Install Alien

Add the Universe repository to the sources list from the System menu System > Administration > Software Sources. Open a Terminal from the Applications menu Applications > Accessories > Terminal. In the Terminal, enter:

sudo apt-get install alien

Installing a RPM file directly

In the Terminal, enter:

sudo alien -i package_file.rpm

Converting the RPM file to a Debian package

In the Terminal, enter:

sudo alien package_file.rpm

Installing the converted Debian package

In the Terminal, enter:

sudo dpkg -i package_file.deb

Additional Help

In the Terminal, enter:

alien -h

Further Reading

Installing a single package file