|
|
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已! |
|
恭喜您是本站第 1729846
位訪客!
登入 | 註冊
|
|
|
|
發表者 |
討論內容 |
冷日 (冷日) |
發表時間:2014/5/7 4:00 |
- 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
|
|
討論串
|