茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1729846 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
IMG_60D_00169.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

小企鵝開談 : [分享]Rebuild a Source RPM

發表者 討論內容
冷日
(冷日)
Webmaster
  • 註冊日: 2008/2/19
  • 來自:
  • 發表數: 15773
[分享]Compiling a source RPM
6. Compiling a source RPM

A source RPM (SRPM) package typically contains a gzipped tar archive with the source files, and an RPM spec file.

To compile and install a source RPM package, you can do the following:
    bash$ rpm --rebuild foo.src.rpm
    …
    (lots of output)
    …
    Wrote: /usr/src/packages/RPMS/i386/foo.i386.rpm
    …
    + exit 0
    …
    bash$ rpm -Uvh /usr/src/packages/RPMS/i386/foo.i386.rpm
    foo                   ##################################################

If all goes well, you can skip everything below. If not, you may want to cd /usr/src/packages/BUILD/foo-Version, read on below, and try to figure out how to compile the application

Note
If for some reason you do not like to use rpm, you can unpack the source RPM (see Section 5>), and compile manually (see the next few sections).


Compiling a source RPM
前一個主題 | 下一個主題 | | | |

討論串




Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|