having difficulty unzipping a zip file
I'm using Xubuntu 14.04 LTS
I put this in the terminal: sudo apt-get install unzip Then I made sure my zip file (pycrypto-2.1.0.win32-py2.7.zip) was in the Desktop. Then from the desktop folder in the terminal I entered: unzip pycrypto-2.1.0.win32-py2.7.zip The reply was: Archive: pycrypto-2.1.0.win32-py2.7.zip replace pycrypto-2.1.0.win32-py2.7.exe? [y]es, [n]o, [A]ll, [N]one, [r]ename: I've Googled a lot on this. One guy said once you install the sudo apt-get install unzip you can just double click on the file on the desktop. When I do that it just shows the .exe file in the archive manager. But when I leave the archive manager, the Desktop just shows the zip file. So is the file unzipped? What I did was drag the .exe file (after the double left clicking and getting the archive manager) onto the Desktop. Does that mean it's unzipped? I (perhaps the sudo apt-get install unzip had already been there) was able to open the zip file with the archive manager before. And unzipping and extracting are the same thing, right? If not, what the difference? I was just exploring some more and when I right click on the pycrypto-2.1.0.win32-py2.7.zip file on the Desktop and choose "Extract here" it shoots the pycrypto-2.1.0.win32-py2.7.exe file onto the Desktop. Is this unzipping it? (Could it be this simple?) And I am still in the terminal with: Archive: pycrypto-2.1.0.win32-py2.7.zip replace pycrypto-2.1.0.win32-py2.7.exe? [y]es, [n]o, [A]ll, [N]one, [r]ename: I'm assuming I enter: n and hit enter. (Because I don't want to replace it.) Would this be the thing to do? Thanks very much. |
Quote:
The message from the first attempt to unzip from the command line suggests that the (unzipped) package was already present in the directory from which you were operating. I wouldn't think replacing it (or not) would make any difference -- they are both the same file. |
A zip file is just an archive that contains other files/directories. To "unzip" the file, means to extract the files/directories contained within so they are normal, readable files on your filesystem.
You did this when you dragged the exe from the file manager to the desktop. You did this when you right clicked the file and told it "extract here". You attempted to do this when you typed "unzip file.zip" in the command line, but since you had already extracted it twice before, it came back with a message telling you the exe contained within the zip file had already been extracted, and asked you if you wanted to replace it. Yes/No wouldn't have made any difference, since it's the same file you had already extracted twice before. |
Thanks Head, Suicidal. Phew. I made a lot of work out of something really simple. Appreciate your help.
|
Quote:
|
Thanks jross
|
All times are GMT -5. The time now is 08:55 PM. |