關於 PHP, Linux, Open Source 及個人生活記載的網誌。
RSS icon
  • 安裝 .src.rpm 檔方法

    Posted on April 29th, 2006 Sam Tang No comments

    有些 rpm 檔軟件是以 .src.rpm 結尾,與普通的 rpm 檔的分別是 .src.rpm 包含了源始程式碼,安裝時需要編譯,例如要安裝的檔案名稱是 software-package.src.rpm,以下是安裝方法:

    rpm -i software-package.src.rpm
    cd /usr/src/redhat/SPECS
    rpmbuild -bp software-package.specs // 軟件名稱,最後加上 .specs
    cd /usr/src/redhat/BUILD/software-package // 和軟件同名的目錄
    ./configure
    make && make install


    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