rpm switches for src files
Simple question:
I have the following file abcd.src.rpm When I try to extract it with rpm -ivh abcd.src.rpm nothing happens or I cant find the source (not sure). 1 - What is the correct switches for src rpm files ? 2 - Is their a switch to find the destination path ? Thanks !!!!! |
OK i found the files after RPM expanded. But it is now in the format abcd.tar.Z I tried tar xvf abcd.tar.Z and got error.
Is .Z a tar file, and what app should expand it ? |
You can build binary rpms by doing "rpmbuild --rebuild abcd.src.rpm". Is that what you want? To uncompress abcd.tar.Z use "tar xvfZ abcd.tar.Z"
|
Thanks for the reply. I eventually figured it out when I found an app call zcat. So my command was
zcat tcpdump-3.4.tar.Z | tar xfv - I didnt know that tar had a "Z" switch. Adam |
Quote:
|
All times are GMT -5. The time now is 07:54 AM. |