Hi!
Quote:
Originally Posted by shankar100
Could you tell me the difference between src.rpm and general rpms for i386 machine.
|
Source rpm contains actual source code and patch files for Linux application. Use source rpm to compile and customize application as per your requirements. All source rpm file has
src.rpm extension
if you use RPM on an Intel-based computer, you'd normally expect to find i386 there. If you use x86_64 bit computer you will see x86_64 in RPM file names. Normal rpm file has only binary files and no source code at all.
Quote:
Originally Posted by shankar100
Also please tell me how to rebuild RPM?
|
Just rebuild
Code:
rpm --rebuild file.src.rpm
To customize package, first install src.rpm:
Code:
rpm -ivh file.src.rpm
cd /usr/src/redhat/SPECS/
vi file.spec
Make changes and rebuild rpm
Code:
rpmbuild -bb file.spec
Read man page of rpm, rpmbuild or better read this free book
http://www.rpm.org/max-rpm/index.html
Quote:
Originally Posted by shankar100
I have redhat EL 4.0 installed on Intel machine ( can also tell me what os I have (ex, 32-bit or 64 bit) where to check this information.
|
Use uname command
Code:
uname -mrs
uname -r
See our FAQ :
Linux how to find if processor is 64 bit or not | Frequently Asked Questions
Hope this helps!