Problem with Un-compresing a file
Hi I have downloaded a file from net as I needed a particular RPM for some purpose,so the package that I received was LATEST-IS-2.14.17.
When I run a file command on this file it gives the following output LATEST-IS-2.14.17: gzip compressed data, from Unix.I want to extract the files from this one and install the RPM on the machine.I dont understand how to proceed from here. Can someone help me out or suggest what needs to be done? Thanks, Ajit |
gunzip LATEST-IS-2.14.17
Run the file cmd again if you only get one file output, so we know what we're dealing with. |
Hi Chris,
As per your suggestion I ran the command I got the following output. gunzip LATEST-IS-2.14.17 gunzip: LATEST-IS-2.14.17: unknown suffix -- ignored Regards, Ajit |
Quote:
ie command will be # gunzip LATEST-IS-2.14.17.gz |
No,its still not working I wasnt unable to un-zip the file.Is there any other way out.
Ajit |
The file has no extension, you need to rename it as .gz, then uncompress it. The gzip tool is a bit picky about that..
|
Quote:
Ajit |
The actual name of the file should be ORBit2-2.14.17.tar.gz. The file you have downloaded has been put there just as a reference to the latest version. Either download ORBit2-2.14.17.tar.gz or do simply:
Code:
tar zxvf LATEST-IS-2.14.17 |
Quote:
|
Quote:
Ajit |
As per my previous post you have either to compile from source or to build the RPM by yourself (which implies compiling from source).
|
Oh thanks.Can you tell me how can I build a rpm from here in short or is there any link that can properly guide me fron here.
Thanks Ajit |
You can try (as root)
Code:
rpmbuild -tb ORBit2-2.14.17.tar.gz |
rpmbuild command not found
Quote:
Ajit |
You have to install it. Which linux distribution are you running on?
In any case, you can first try to compile it from source (the same will be done by the rpmbuild process) to see if you miss some dependency. Try Code:
./configure --prefix=/usr/local Code:
make |
All times are GMT -5. The time now is 06:16 PM. |