个人工具

UbuntuHelp:RPM/AlienHowto

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月24日 (四) 14:59的版本 (新页面: {{From|https://help.ubuntu.com/community/RPM/AlienHowto}} {{Languages|UbuntuHelp:RPM/AlienHowto}} RPM files are software packages similar to the Debian (.deb) packages in Ubuntu. Alien co...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

RPM files are software packages similar to the Debian (.deb) packages in Ubuntu. Alien converts a downloaded RPM into a .deb for easy installation.

How to install RPM packages

/!\ Note This is not the recommended way to install packages in Ubuntu. If at all possible, install from Ubuntu's repositories using apt-get, Synaptic, or find a .deb package instead of an RPM. RPMs should be a last resort.

Install Alien

The best way to install non-native packages is Alien. To install, simply type the following in a terminal:

sudo apt-get install alien

Convert RPM

Now use Alien to convert your RPM to a Debian package.

sudo alien -d <insert rpm filename here>

Install package

The new .deb should be in your home folder.

If you use Ubuntu, double-click the package to install it. If you use Kubuntu, right-click the package and navigate to 'Kubuntu Package Menu' then click 'Install Package'.

If for some reason that fails, the following should also work:

sudo dpkg -i <name of .deb file>

Troubleshooting

Known errors:

If you can't install alien then you may need to install debhelper. You may install debhelper with Synaptic or with the following command:

sudo apt-get install debhelper