關於 PHP, Linux, Open Source 及個人生活記載的網誌。
RSS icon
  • 在 Ubuntu 安裝 RPM 檔案

    Posted on February 3rd, 2006 Sam Tang 2 comments

    如果在 Ubuntu 想要安裝的軟件只提供 RPM 檔案,而沒有提供 debian 的 .deb 檔案,可以使用 Alien Package Converter 來解決。

    Alien 是一個將 rpm, dpkg, stampede slp 及 slackware tgz 檔案格式間轉換的工具,而在 Ubuntu 上安裝 Alien 也只需用 apt 即可,相當方便,以下是具體實現方法:

    $sudo apt-get install alien

    輸入以上指令後,需要輸入密碼,然後按 “Y” 確認即可。安裝完成後,就可以用以下指令將 rpm 檔案轉換:

    $sudo alien -k name-of-rpm-file.rpm


     

    2 responses to “在 Ubuntu 安裝 RPM 檔案”

    1. 呵呵,感谢你这个文章,帮了我很大的忙阿^_^

    2. 真的太感谢了。只是不知道这样是不是会有副作用。有也无所谓了,反正当务之急是能装上原来装不上的软件。

    Leave a reply

    *
    To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
    Click to hear an audio file of the anti-spam word