Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I have a problem.
I just downloaded a RPM file from the internet and the size is 1.9MB. I saved into my C drive. They i use winzip to compress it and save it into A: drive/floppy. It required 2 diskettes to store the file. Actually i want to transfer the RPM file to Linux Redhat PC. May i know how to decompress the file which i compressed into diskette just now?
thanks.
I need to 'man unzip' again myself but I think he's going to have trouble. As far as I know, gunzip and such is pkzip-compatible (mostly) but doesn't support multi-volume PKZip-type archives.
I'm guessing you don't have a dual boot machine, a Linux and Windows box networked, a CD burner, or a connection to the net with Linux? Because any of those would get you around the multi-floppy transfer issue.
There are some *nix utilities for DOS/Win and Cygwin, of course. Maybe unpack it in Windows and copy two halves to two floppies in unpacked form and copy them back to one directory in Linux. *g*
But maybe I'm out of it and you can just unzip it.
Multi-part archives are not yet supported, except in con-
junction with zip. (All parts must be concatenated
together in order, and then ``zip -F'' must be performed
on the concatenated archive in order to ``fix'' it.) This
will definitely be corrected in the next major release.
I'm taking bits of pieces of the above conversation, but try this:
Copy all the files from both floppies to a single location. You might even create a temp directory for this to ensure that's all that is in that location. Then, after the files are in a place you can find easily, open up a console and type:
cd /path/to/files
cat file1.zip file2.zip > single.zip
Changing /path/to/files to the actual location, and file1.zip and file2.zip to the actual filenames.
After that run:
zip -F single.zip
This repairs the zip from the cat'ing, and then:
unzip single.zip
To have it unzipped and working.
Unless I'm missing something, isn't gunzip a utility used to uncompress gzipped files? I know if I call gunzip, I get an error because it's looking for a gzipped file, all in the command line.
Could you clarify, or link us to, the application you are referring to?
Tink:
I know, I know I agree, but things like this probably don't come along often enough for them to need to know how to do it, not yet anyway.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.