特殊:Badtitle/NS100:RPM/AlienHowto:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/RPM/AlienHowto}} | {{From|https://help.ubuntu.com/community/RPM/AlienHowto}} | ||
{{Languages|UbuntuHelp:RPM/AlienHowto}} | {{Languages|UbuntuHelp:RPM/AlienHowto}} | ||
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. | 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 === | === Install Alien === | ||
Add the Universe repository to the sources list from the '''''System''''' menu '''''System > Administration > Software Sources'''''. | 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'''''. | Open a Terminal from the '''''Applications''''' menu '''''Applications > Accessories > Terminal'''''. | ||
In the Terminal, enter: | In the Terminal, enter: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install alien | sudo apt-get install alien | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Installing a RPM file directly === | === Installing a RPM file directly === | ||
In the Terminal, enter: | In the Terminal, enter: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo alien -i package_file.rpm | sudo alien -i package_file.rpm | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Converting the RPM file to a Debian package === | === Converting the RPM file to a Debian package === | ||
In the Terminal, enter: | In the Terminal, enter: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo alien package_file.rpm | sudo alien package_file.rpm | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Installing the converted Debian package === | === Installing the converted Debian package === | ||
In the Terminal, enter: | In the Terminal, enter: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo dpkg -i package_file.deb | sudo dpkg -i package_file.deb | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Additional Help === | === Additional Help === | ||
In the Terminal, enter: | In the Terminal, enter: | ||
<pre><nowiki> | <pre><nowiki> | ||
alien -h | alien -h | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Further Reading === | === Further Reading === | ||
'''[https://help.ubuntu.com/7.04/add-applications/C/install-file.html Installing a single package file]''' | '''[https://help.ubuntu.com/7.04/add-applications/C/install-file.html Installing a single package file]''' | ||
[[category:CategoryDocumentation]] [[category:CategoryCleanup]] | [[category:CategoryDocumentation]] [[category:CategoryCleanup]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2007年11月30日 (五) 21:21的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/RPM/AlienHowto }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/af | • {{#if: UbuntuHelp:RPM/AlienHowto|Afrikaans| [[::RPM/AlienHowto/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/ar | • {{#if: UbuntuHelp:RPM/AlienHowto|العربية| [[::RPM/AlienHowto/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/az | • {{#if: UbuntuHelp:RPM/AlienHowto|azərbaycanca| [[::RPM/AlienHowto/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/bcc | • {{#if: UbuntuHelp:RPM/AlienHowto|جهلسری بلوچی| [[::RPM/AlienHowto/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/bg | • {{#if: UbuntuHelp:RPM/AlienHowto|български| [[::RPM/AlienHowto/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/br | • {{#if: UbuntuHelp:RPM/AlienHowto|brezhoneg| [[::RPM/AlienHowto/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/ca | • {{#if: UbuntuHelp:RPM/AlienHowto|català| [[::RPM/AlienHowto/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/cs | • {{#if: UbuntuHelp:RPM/AlienHowto|čeština| [[::RPM/AlienHowto/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/de | • {{#if: UbuntuHelp:RPM/AlienHowto|Deutsch| [[::RPM/AlienHowto/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/el | • {{#if: UbuntuHelp:RPM/AlienHowto|Ελληνικά| [[::RPM/AlienHowto/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/es | • {{#if: UbuntuHelp:RPM/AlienHowto|español| [[::RPM/AlienHowto/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/fa | • {{#if: UbuntuHelp:RPM/AlienHowto|فارسی| [[::RPM/AlienHowto/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/fi | • {{#if: UbuntuHelp:RPM/AlienHowto|suomi| [[::RPM/AlienHowto/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/fr | • {{#if: UbuntuHelp:RPM/AlienHowto|français| [[::RPM/AlienHowto/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/gu | • {{#if: UbuntuHelp:RPM/AlienHowto|ગુજરાતી| [[::RPM/AlienHowto/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/he | • {{#if: UbuntuHelp:RPM/AlienHowto|עברית| [[::RPM/AlienHowto/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/hu | • {{#if: UbuntuHelp:RPM/AlienHowto|magyar| [[::RPM/AlienHowto/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/id | • {{#if: UbuntuHelp:RPM/AlienHowto|Bahasa Indonesia| [[::RPM/AlienHowto/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/it | • {{#if: UbuntuHelp:RPM/AlienHowto|italiano| [[::RPM/AlienHowto/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/ja | • {{#if: UbuntuHelp:RPM/AlienHowto|日本語| [[::RPM/AlienHowto/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/ko | • {{#if: UbuntuHelp:RPM/AlienHowto|한국어| [[::RPM/AlienHowto/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/ksh | • {{#if: UbuntuHelp:RPM/AlienHowto|Ripoarisch| [[::RPM/AlienHowto/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/mr | • {{#if: UbuntuHelp:RPM/AlienHowto|मराठी| [[::RPM/AlienHowto/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/ms | • {{#if: UbuntuHelp:RPM/AlienHowto|Bahasa Melayu| [[::RPM/AlienHowto/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/nl | • {{#if: UbuntuHelp:RPM/AlienHowto|Nederlands| [[::RPM/AlienHowto/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/no | • {{#if: UbuntuHelp:RPM/AlienHowto|norsk| [[::RPM/AlienHowto/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/oc | • {{#if: UbuntuHelp:RPM/AlienHowto|occitan| [[::RPM/AlienHowto/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/pl | • {{#if: UbuntuHelp:RPM/AlienHowto|polski| [[::RPM/AlienHowto/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/pt | • {{#if: UbuntuHelp:RPM/AlienHowto|português| [[::RPM/AlienHowto/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/ro | • {{#if: UbuntuHelp:RPM/AlienHowto|română| [[::RPM/AlienHowto/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/ru | • {{#if: UbuntuHelp:RPM/AlienHowto|русский| [[::RPM/AlienHowto/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/si | • {{#if: UbuntuHelp:RPM/AlienHowto|සිංහල| [[::RPM/AlienHowto/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/sq | • {{#if: UbuntuHelp:RPM/AlienHowto|shqip| [[::RPM/AlienHowto/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/sr | • {{#if: UbuntuHelp:RPM/AlienHowto|српски / srpski| [[::RPM/AlienHowto/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/sv | • {{#if: UbuntuHelp:RPM/AlienHowto|svenska| [[::RPM/AlienHowto/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/th | • {{#if: UbuntuHelp:RPM/AlienHowto|ไทย| [[::RPM/AlienHowto/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/tr | • {{#if: UbuntuHelp:RPM/AlienHowto|Türkçe| [[::RPM/AlienHowto/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/vi | • {{#if: UbuntuHelp:RPM/AlienHowto|Tiếng Việt| [[::RPM/AlienHowto/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/yue | • {{#if: UbuntuHelp:RPM/AlienHowto|粵語| [[::RPM/AlienHowto/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/zh | • {{#if: UbuntuHelp:RPM/AlienHowto|中文| [[::RPM/AlienHowto/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/zh-hans | • {{#if: UbuntuHelp:RPM/AlienHowto|中文(简体)| [[::RPM/AlienHowto/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RPM/AlienHowto | UbuntuHelp:RPM/AlienHowto | {{#if: | :}}RPM/AlienHowto}}/zh-hant | • {{#if: UbuntuHelp:RPM/AlienHowto|中文(繁體)| [[::RPM/AlienHowto/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:RPM/AlienHowto|:RPM/AlienHowto|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :RPM/AlienHowto/zh | | {{#ifexist: RPM/AlienHowto/zh | | {{#ifeq: {{#titleparts:RPM/AlienHowto|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:RPM/AlienHowto|1|-1|}} | zh | | }}
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